Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1445384 - remove implementation of the WaitForSlotEvent callback
remove implementation of the WaitForSlotEvent callback
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss-pem (Show other bugs)
7.4
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Kamil Dudka
Hubert Kario
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-25 10:46 EDT by Kamil Dudka
Modified: 2017-08-01 12:50 EDT (History)
2 users (show)

See Also:
Fixed In Version: nss-pem-1.0.3-4.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 12:50:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1977 normal SHIPPED_LIVE nss bug fix and enhancement update 2017-08-01 13:57:47 EDT

  None (edit)
Description Kamil Dudka 2017-04-25 10:46:09 EDT
Description of problem:
Implementation of the WaitForSlotEvent callback needs to be removed because users of nss-pem (namely libcurl and openldap) do not free PKCS #11 slot objects returned by SECMOD_WaitForAnyTokenEvent(), which later prevents the nss-pem module from being unloaded.  The following commit needs to be reverted:

https://github.com/kdudka/nss-pem/commit/eefef228


Version-Release number of selected component (if applicable):
nss-pem-1.0.3-2.el7


Steps to Reproduce:
1. install nss-pem-1.0.3-2.el7 and libcurl-7.29.0-42.el7
2. load a private key from file using libcurl


Actual results:
nss-pem fails to unload


Expected results:
nss-pem unloads properly


Additional info:
This will reintroduce the one second sleep per each loading of a private key.
Comment 6 errata-xmlrpc 2017-08-01 12:50:07 EDT
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/RHEA-2017:1977

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