Bug 2196696

Summary: after updating from RHEL 8.6 to 8.7 opensc fails to work
Product: Red Hat Enterprise Linux 8 Reporter: joel <jwooten>
Component: openscAssignee: Jakub Jelen <jjelen>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.7CC: atikhono, networkadmin, pbrezina, sbose
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-11 09:20:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description joel 2023-05-09 21:12:13 UTC
Description of problem:
after updating system is having issues accessing cards
- cu did have entropy issues, not sure how that would affect opensc though
- opensc tools are not working correctly, install may be corrupted
[root@EC-TST-IT-06 lib64]# modutil -dbdir /etc/pki/nssdb -add "OpenSC" -libfile /usr/lib64/opensc-pkcs11.so
  ...
ERROR: Failed to add module "OpenSC". Probable cause : "/usr/lib64/opensc-pkcs11.so: cannot open shared object file: No such file or directory".
- reinstalling opensc did not help
- strace did not provide any answers
- rpm -V did not find any obvious failures

Comment 1 Andre Boscatto 2023-05-10 08:45:20 UTC
*** Bug 2196695 has been marked as a duplicate of this bug. ***

Comment 2 Alexey Tikhonov 2023-05-10 09:54:23 UTC
Reassigning to 'opensc' for initial investigation.

Comment 3 Sumit Bose 2023-05-10 10:18:57 UTC
Hi,

can you ask to attache an sos-report from a working RHEL-8.6 system? I'm asking because in the sos-reports from the RHEL-8.7 system Smartcard authentication is not configured at all.

bye,
Sumit

Comment 4 networkadmin 2023-05-10 12:07:49 UTC
Unfortunately, we no longer have any 8.6 servers on our network. We only have the 8.7.

Comment 5 Jakub Jelen 2023-05-11 09:20:25 UTC
Closing as a duplicate of a bug #2189665 as it is linked to the same customer case and has still some unanswered questions waiting for joel.

*** This bug has been marked as a duplicate of bug 2189665 ***