Bug 929357

Summary: resource leak: must call PK11_FreeSlot after SECMOD_CloseUserDB
Product: [Fedora] Fedora Reporter: Rich Megginson <rmeggins>
Component: openldapAssignee: Jan Synacek <jsynacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsynacek, jv+fedora, phracek, rmeggins, rodd
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openldap-2.4.35-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 929358 (view as bug list) Environment:
Last Closed: 2013-04-03 07:00:50 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:    
Bug Blocks: 929358    
Attachments:
Description Flags
patch to fix the problem none

Description Rich Megginson 2013-03-29 21:38:39 UTC
Created attachment 718176 [details]
patch to fix the problem

Description of problem:

NSS_ShutdownContext fails with SEC_ERROR_BUSY - resources in use.  This is because there is still a reference to the cert db opened with SECMOD_OpenUserDB.

Apps must call PK11_FreeSlot to release the reference after calling SECMOD_CloseUserDB - then NSS_ShutdownContext will return success.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2013-04-03 06:57:16 UTC
openldap-2.4.35-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/openldap-2.4.35-1.fc19

Comment 3 Fedora Update System 2013-04-03 07:12:44 UTC
openldap-2.4.35-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openldap-2.4.35-1.fc18

Comment 4 Fedora Update System 2013-04-15 09:24:56 UTC
openldap-2.4.35-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openldap-2.4.35-3.fc18

Comment 5 Fedora Update System 2013-04-20 19:26:48 UTC
openldap-2.4.35-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-05-07 18:24:08 UTC
openldap-2.4.35-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.