Bug 1739433
| Summary: | ICA HW token missing after the package update | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Karel Srot <ksrot> | |
| Component: | opencryptoki | Assignee: | Than Ngo <than> | |
| Status: | CLOSED ERRATA | QA Contact: | Karel Srot <ksrot> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.1 | CC: | bugproxy, dhorak, fkrska, hannsj_uhl, jkachuck, ovasik, plautrba, than, wchadwic | |
| Target Milestone: | rc | Keywords: | Patch, Regression | |
| Target Release: | 8.1 | Flags: | ovasik:
needinfo+
pm-rhel: mirror+ |
|
| Hardware: | s390x | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | opencryptoki-3.11.1-2.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1756956 (view as bug list) | Environment: | ||
| Last Closed: | 2019-11-05 22:04:17 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: | ||||
| Bug Depends On: | 1706140 | |||
| Bug Blocks: | 1624641, 1654309, 1660905, 1710589 | |||
|
Description
Karel Srot
2019-08-09 10:10:44 UTC
------- Comment From ifranzki.com 2019-08-09 06:39 EDT------- Yes, the ICA token does a dlopen() for libica.so. Since the packaging is distribution specific, it is hard to find a way for upstream that works for all distros.... We should probably talk to Patrick Steuer (maintainer of openCryptoki) about this and if we want to change something upstream. In the IBMCA engine we reference libica by its soname - https://github.com/opencryptoki/openssl-ibmca/commit/f4c9d610e39624be09ba4de36e29c60a478537e7 as a fix for https://github.com/opencryptoki/openssl-ibmca/issues/46 - I guess opencryptoki can do the same. Or at least add the dependency on the libica-devel package so it would be pulled in with an update. For some reason libica-devel is present in BaseOS channel anyway. ------- Comment From ifranzki.com 2019-08-13 02:52 EDT------- FYI: Please see pull request https://github.com/opencryptoki/opencryptoki/pull/245 to change the dlopen of libica to use the versioned name (i.e. libica.so.3). The PR should be merged soon. You can then pick the 2 commits. They should apply clean on top of OCK 3.11.1. I will let you know when the PR has been merged. ------- Comment From ifranzki.com 2019-08-13 07:56 EDT------- The PR is now merged. Please take the following 2 commits: https://github.com/opencryptoki/opencryptoki/commit/73f05eb53f12197f081fd7ec75619c6ea3a39b2c https://github.com/opencryptoki/opencryptoki/commit/7f4113ba8653b8b18a6f1af6ab1d8eb90987626d 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-2019:3524 |