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.
Bug 1816591 - p11_child should have an option to skip C_WaitForSlotEvent if the PKCS#11 module does not implement it properly [rhel-8.1.0.z]
Summary: p11_child should have an option to skip C_WaitForSlotEvent if the PKCS#11 mo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.0
Assignee: Alexey Tikhonov
QA Contact: sssd-qe
URL:
Whiteboard: sync-to-jira
Depends On: 1718193
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 10:32 UTC by RHEL Program Management Team
Modified: 2023-10-06 19:32 UTC (History)
15 users (show)

Fixed In Version: sssd-2.2.0-19.el8_1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1718193
Environment:
Last Closed: 2020-04-07 10:56:39 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5114 0 None closed p11_child should have an option to skip C_WaitForSlotEvent if the PKCS#11 module does not implement it properly 2020-11-02 17:02:56 UTC
Red Hat Issue Tracker RHELPLAN-39730 0 None None None 2021-08-27 22:34:16 UTC
Red Hat Issue Tracker SSSD-2154 0 None None None 2023-10-06 19:32:34 UTC
Red Hat Issue Tracker SSSD-2222 0 None None None 2023-10-06 19:32:41 UTC
Red Hat Product Errata RHBA-2020:1377 0 None None None 2020-04-07 10:56:42 UTC

Comment 3 Scott Poore 2020-03-25 16:15:03 UTC
Verified.

Version ::

sssd-2.2.0-19.el8_1.1.x86_64

Results ::

First reproducing with sssd-2.0.0-43.el8_0.3.x86_64

[root@rhel8-3 ~]# authselect enable-feature with-smartcard-required

[root@rhel8-3 ~]# authselect enable-feature with-smartcard-lock-on-removal

[root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd

[root@rhel8-3 ~]# systemctl restart gdm

[root@rhel8-3 ~]# tail -1 -f /var/log/secure 
...
Mar 25 11:03:20 rhel8-3 gdm-smartcard][5319]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:24 rhel8-3 gdm-smartcard][5329]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:29 rhel8-3 gdm-smartcard][5339]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:33 rhel8-3 gdm-smartcard][5349]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:37 rhel8-3 gdm-smartcard][5359]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:42 rhel8-3 gdm-smartcard][5377]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:46 rhel8-3 gdm-smartcard][5396]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)

When Screensaver appears trigger login and I see:

Please enter smart card labeled...
Sorry that didn't work, please try again

looping every few seconds.

Now verifying after upgrading to:  sssd-2.2.0-19.el8_1.1.x86_64

[root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd

[root@rhel8-3 ~]# systemctl restart gdm

[root@rhel8-3 ~]# tail -f /var/log/secure 
...
 Mar 25 11:10:59 rhel8-3 gdm-smartcard][7815]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)


In the gnome session, I pulled the card and the screen locked.  I slide up to access login and it prompts:

Please enter smart card labeled
 sctest (MyEID)

I see no loop and only one error message in /var/log/secure.

I reinsert the card, it prompts for pin and I log back in and see this in secure:

Mar 25 11:13:31 rhel8-3 gdm-smartcard][7870]: pam_sss(gdm-smartcard:auth): authentication success; logname= uid=0 euid=0 tty=/dev/tty2 ruser= rhost= user=ipauser1

Comment 9 errata-xmlrpc 2020-04-07 10:56:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1377


Note You need to log in before you can comment on or make changes to this bug.