Bug 494964 - missing NSS_Shutdown in the lib
Summary: missing NSS_Shutdown in the lib
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nss
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-08 20:36 UTC by Rob Crittenden
Modified: 2009-05-21 17:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-21 17:29:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2009-04-08 20:36:15 UTC
There is no available call to NSS_Shutdown() in the API.

It is generally cleaner to pair NSS_Initialize() with NSS_Shutdown() calls.

Comment 1 Rob Crittenden 2009-04-08 21:27:39 UTC
Note that any references to certs, keys, slots, tokens, etc need to be freed before an NSS_Shutdown() will be successful.

I added an API command to do NSS_Shutdown() but it failed with:

nss.error.NSPRError: [Errno -8053] (SEC_ERROR_BUSY) NSS could not shutdown. Objects are still in use.

I'll poke around and see if I can find out where things aren't being freed up.

Comment 2 John Dennis 2009-05-21 17:29:35 UTC
added in python-nss-0.2, should appear in a day or two.


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