Red Hat Bugzilla – Bug 509002
NSS_NoDB_Init() not supported
Last modified: 2009-07-16 03:04:10 EDT
Please add support for NSS_NoDB_Init(). The workaround (creating a temporary directory and initializing it) is unclean (if the process is terminated unexpectedly, the temporary directory will remain), not to mention very ugly.
(NSS_InitReadWrite could perhaps be useful as well, although I don't need it in my application.)
Note: moved nss_init and nss_shutdown from the nss.ssl module to the nss.nss module, it was never correct that nss_init was in the ssl module.
I've built a test rpm and posted it on my people page. I have not tested the new entry point, if you would please do that I'd appreciate it. If it seems to work fine I'll push it into updates.
Thanks, nss.nss.nss_init_nodb (on a local rebuild using (python setup.py build)) works fine.
python-nss-0.4-1 Should appear in rawhide and F11 shortly
python-nss-0.4-1.fc11 has been submitted as an update for Fedora 11.
FYI: renaming ssl.nss_init to nss.nss_init and ssl.nss_shutdown to nss.nss_shutdown should not break existing code so I just build a new package which restores ssl.nss_init and ssl.shutdown, but marks them as deprecated. I also added a version string to the package: nss.__version__
python-nss-0.6-2.fc11 has been submitted as an update for Fedora 11.
python-nss-0.6-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.