Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
After installing CentOS Stream 9 20220302.0 and updating all packages, pcscd is no longer able to detect Yubikey security keys. My initial findings seem to point out libusbx to be the cause of this. Downgrading from libusbx-1.0.25-2.el9.x86_64 to libusbx-1.0.24-4.el9.x86_64 makes pcscd able to detect the Yubikey again.
Version-Release number of selected component (if applicable):
libusbx-1.0.25-2.el9.x86_64
How reproducible:
Every time. This has been tested on two different physical computers.
Steps to Reproduce:
1. Install CentOS Stream 9 20220302.0 with Smart Card Support.
2. Update the installation using dnf update.
3. Insert a Yubikey.
4. Check the status of pcscd.
Actual results:
# systemctl status pcscd.service
...
Apr 01 11:39:07 testmachine pcscd[2366]: 00000000 ccid_usb.c:863:WriteUSB() write failed (1/6): -4 LIBUSB_ERROR_NO_DEVICE
# p11tool --list-tokens
(Expected token not shown)
Expected results:
# systemctl status pcscd.service
(No errors)
# p11tool --list-tokens
...
Token 2:
URL: pkcs11:model=PKCS%2315%20emulated;manufacturer=piv_II;serial=<REDACTED>;token=John%20Doe
Label: John Doe
Type: Hardware token
Flags: RNG, Requires login
Manufacturer: piv_II
Model: PKCS#15 emulated
Serial: <REDACTED>
Module: opensc-pkcs11.so
Additional info:
Downgrading libusbx back to 1.0.24-4 makes the Yubikey available again.
I tested this on Red Hat Enterprise Linux 9.0 Beta as well, and the same issue appears there.
This was all tested on physical hardware (one laptop, and two desktops).