-
Bug
-
Resolution: Done-Errata
-
Critical
-
rhel-10.1
-
None
-
opencryptoki-3.25.0-4.el10
-
No
-
Important
-
rhel-base-utils-antfarm
-
23
-
23
-
1
-
QE ack, Dev ack
-
False
-
False
-
-
No
-
None
-
Pass
-
Not Needed
-
RegressionOnly
-
Release Note Not Required
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
I was updating opencryptoki on RHEL-10.0 with its version from RHEL-10.1 but the service failed to start.
/usr/sbin/pkcsslotd: symbol lookup error: /usr/sbin/pkcsslotd: undefined symbol: EVP_MD_CTX_get_size_ex, version OPENSSL_3.4.0
Further investigation revealed that:
- rpm -q openssl openssl-libs
openssl-3.2.2-16.el10.x86_64
openssl-libs-3.2.2-16.el10.x86_64 - rpm -q --provides openssl-libs
config(openssl-libs) = 1:3.2.2-16.el10
libcrypto.so.3()(64bit)
libcrypto.so.3(OPENSSL_3.0.0)(64bit)
libcrypto.so.3(OPENSSL_3.0.1)(64bit)
libcrypto.so.3(OPENSSL_3.0.3)(64bit)
libcrypto.so.3(OPENSSL_3.0.8)(64bit)
libcrypto.so.3(OPENSSL_3.0.9)(64bit)
libcrypto.so.3(OPENSSL_3.1.0)(64bit)
libcrypto.so.3(OPENSSL_3.2.0)(64bit)
libcrypto.so.3(OPENSSL_3.4.0)(64bit)
libssl.so.3()(64bit)
libssl.so.3(OPENSSL_3.0.0)(64bit)
libssl.so.3(OPENSSL_3.2.0)(64bit)
openssl-libs = 1:3.2.2-16.el10
openssl-libs(x86-64) = 1:3.2.2-16.el10
Notice that there is libcrypto.so.3(OPENSSL_3.4.0)(64bit) .
per cllang@redhat.com :
Root cause is https://gitlab.com/redhat/centos-stream/rpms/openssl/-/commit/ce2e7dc60e1f3dac02c5b652e14599cf86223498#8e8ad7a4ef98d596c73e7[…]0519121e131584_0_1002
That backport should not have added the 3_4_0 version in the symbol table (at least not without also importing all other 3_4_0 symbols), but it did.
The issue is tracked on openssl side as RHEL-105518 but there isn't really a solution that would fix it for opencryptoki right now. So the best way forward is to require new openssl in opencryptoki for RHEL-10.1
What is the impact of this issue to you?
manual intervention during system update is needed (extra addition of openssl into a transaction)
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
always
Steps to reproduce
- install RHEL-10.0
- update opencryptoki to version from RHEL-10.1
- start pkcsslotd, observe error
Expected results
old openssl remains installed, pkcsslotd fails to start
Actual results
openssl 3.5.1 is installed, pkcsslotd runs properly
- links to
-
RHBA-2025:147323
opencryptoki bug fix and enhancement update