Unknown `pcscd` group after updating to `pcsc-lite-2.3.3-2.fc43`

Today, updates to Fedora 43 workstation installed pcsc-lite-2.3.3-2.fc43. On rebooting, the journal has a bunch of messages:

 /usr/lib/udev/rules.d/92_pcscd_ccid.rules:[NN] Unknown group 'pcscd', ignoring.

I don’t think my systems had a pcscd group so assume the need for a group ID is a recent change. Historically, pcscd used group id 145, so, pending better advice, the messages can be eliminated by adding a pcscd group:

% sudo groupadd --users $USER -g 145 pcscd

Confirmed with:

% grep $USER /etc/group
wheel:x:10:<$USER>...
<$USER>:x:1000:
pcscd:x:145:<$USER>

Out of time, so haven’t checked that the readers are working, but wanted to provide some background and a possible “solution” or workaround in case the missing group is affecting use of card readers.

Apparently those lines in journalctl are because of these lines in the referenced file.
/usr/lib/udev/rules.d/92_pcscd_ccid.rules

# Non CCID generic (InterfaceClass: 0xFF)
# CherrySmartTerminalST2XXX.txt
ATTRS{idVendor}=="046A", ATTRS{idProduct}=="003E", GROUP="pcscd"
# SCR331-DI-NTTCom.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5120", GROUP="pcscd"
# SCM_SDI011.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="512B", GROUP="pcscd"
# SCM_SDI011_512C.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="512C", GROUP="pcscd"
# SCL010.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5291", GROUP="pcscd"
# SCL01x.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5292", GROUP="pcscd"
# SCR3310-NTTCom.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="511A", GROUP="pcscd"
# SCR331-DI-NTTCom.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5120", GROUP="pcscd"
# SCR331-DI.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5111", GROUP="pcscd"
# SDI010.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="5121", GROUP="pcscd"
# SPR532.txt
ATTRS{idVendor}=="04E6", ATTRS{idProduct}=="E003", GROUP="pcscd"
# ReinerSCT.txt
ATTRS{idVendor}=="0C4B", ATTRS{idProduct}=="0300", GROUP="pcscd"
# ReinerSCT_cyberJack_RFID_standard.txt
ATTRS{idVendor}=="0C4B", ATTRS{idProduct}=="0500", GROUP="pcscd"
# OMNIKEY_5321_CLi_USB.txt
ATTRS{idVendor}=="076B", ATTRS{idProduct}=="532A", GROUP="pcscd"
# HID_5021_CL.txt
ATTRS{idVendor}=="076B", ATTRS{idProduct}=="5340", GROUP="pcscd"
# Gem_e-SealPro.txt
ATTRS{idVendor}=="08E6", ATTRS{idProduct}=="2202", GROUP="pcscd"
# MySmartPad.txt
ATTRS{idVendor}=="09BE", ATTRS{idProduct}=="0002", GROUP="pcscd"
# Verisign_secure_storage_token.txt
ATTRS{idVendor}=="08E6", ATTRS{idProduct}=="1359", GROUP="pcscd"
# Verisign_secure_token.txt
ATTRS{idVendor}=="08E6", ATTRS{idProduct}=="ACE0", GROUP="pcscd"
# e-gate.txt
ATTRS{idVendor}=="0973", ATTRS{idProduct}=="0003", GROUP="pcscd"
# Oberthur-CosmoCard.txt
ATTRS{idVendor}=="1A74", ATTRS{idProduct}=="6354", GROUP="pcscd"
# Oberthur-CosmoCard1.txt
ATTRS{idVendor}=="1A74", ATTRS{idProduct}=="6356", GROUP="pcscd"
# DUALi_DE-ABCM6.txt
ATTRS{idVendor}=="1DB2", ATTRS{idProduct}=="0600", GROUP="pcscd"
# DellSK-3106.txt
ATTRS{idVendor}=="413C", ATTRS{idProduct}=="2100", GROUP="pcscd"

it appears that file was added with the latest updates of the pcsc-lite-ccid package.

Though it would seem that the update should have also added the group into the system to avoid both the errors and the need for the user to manually create that group.

I think this is a bug in the newly updated pcsc-lite-ccid package and a bug should be filed on that issue. I don’t have a reader so it does not affect my system but someone who does should file the bug report.

The pcs-lite-ccid package added it via this commit, Give pcscd group permission to CCID devices in udev rule (3c1aabd4) · Commits · Ludovic Rousseau / CCID · GitLab
but the pcs-lite package doesn’t add the the sysusers.d files until 2.4.0, Run pcscd under a pcscd user instead of root when using systemd · LudovicRousseau/PCSC@f91d765 · GitHub

1 Like

Thanks for the info.
However, the current version of the pcsc-lite-ccid package on fedora 43 is 1.7.0, so it is still quite a way from the 2.4.0 version.

1 Like