Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1728011

Summary: openssl-pkcs11-0.4.8-1.el7.x86_64 breaks openssl engine pkcs11
Product: [Fedora] Fedora EPEL Reporter: Dave Dykstra <dwd>
Component: openssl-pkcs11Assignee: Anderson Sasaki <ansasaki>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel7CC: ansasaki, crypto-team
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openssl-pkcs11-0.4.10-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-03 01:21:56 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 Dave Dykstra 2019-07-08 19:37:29 UTC
Description of problem:

I long ago misfiled this as bug #1565836 under the old name of the package, libp11 and under RHEL instead of Fedora EPEL.  Bugzilla won't let me change the product, so I am creating a new ticket.

Running "openssl engine pkcs11" with openssl-pkcs11-0.4.8-1.el7.x86_64 fails.

Version-Release number of selected component (if applicable):

0.4.8-1.el7

How reproducible:

Very

Steps to reproduce:

1. install openssl-pkcs11-0.4.8-1.el7
2. run "openssl engine pkcs11"

Actual results:

140280849905568:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib64/openssl/engines/libpkcs11.so): /usr/lib64/openssl/engines/libpkcs11.so: cannot open shared object file: No such file or directory
140280849905568:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
140280849905568:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467:
140280849905568:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:392:id=pkcs11

Expected results:

(pkcs11) pkcs11 engine

Additional info:

Workaround:

ln -s /usr/lib64/engines-1.1/pkcs11.so /usr/lib64/openssl/engines
ln -s /usr/lib64/engines-1.1/libpkcs11.so /usr/lib64/openssl/engines

Comment 1 Dave Dykstra 2019-07-08 21:20:29 UTC
I made a pull request to fix this for version 0.4.10:

https://src.fedoraproject.org/rpms/openssl-pkcs11/pull-request/6

Comment 2 Fedora Update System 2019-07-18 16:09:57 UTC
FEDORA-EPEL-2019-84cd252eb9 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-84cd252eb9

Comment 3 Fedora Update System 2019-07-19 02:56:08 UTC
openssl-pkcs11-0.4.10-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-84cd252eb9

Comment 4 Fedora Update System 2019-08-03 01:21:56 UTC
openssl-pkcs11-0.4.10-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Anderson Sasaki 2019-08-12 09:07:33 UTC
*** Bug 1565836 has been marked as a duplicate of this bug. ***