Red Hat Bugzilla – Bug 1445384
remove implementation of the WaitForSlotEvent callback
Last modified: 2017-08-01 12:50:07 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.
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