Bug 1057650

Summary: RFE: support shared NSS database model
Product: [Fedora] Fedora Reporter: Rob Crittenden <rcritten>
Component: mod_nssAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mharmsen, rbost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_nss-1.0.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1183756 (view as bug list) Environment:
Last Closed: 2015-09-29 17:06:00 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: 1183756    

Description Rob Crittenden 2014-01-24 14:50:02 UTC
The existing NSS databases utilize the original pre-Sleepycat Berkeley DB model which is unsafe when being utilized by more than one process.

mod_nss should consider moving, or at least qualifying, the shared NSS SQLite DB model documented at:

    ​https://wiki.mozilla.org/NSS_Shared_DB

Comment 1 Rob Crittenden 2014-10-28 20:17:26 UTC
It doesn't work as-is. mod_nss does a chdir to NSSCertificateDatabase which fails if prefixed with sql:

gencert doesn't handle a prefix properly either.

Comment 2 Rob Crittenden 2015-09-29 17:06:00 UTC
This was added in mod_nss 1.0.11.