Open Bug 447868 Opened 17 years ago Updated 1 year ago

Allow environment variable to override directory name passed to NSS_Init*

Categories

(NSS :: Libraries, enhancement, P5)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nelson, Unassigned)

References

()

Details

As documented at the cited URL, NSS 3.12 has an environment variable that allows the user to force the application to use cert9.db, rather than cert8. That variable is NSS_DEFAULT_DB_TYPE=sql but NSS 3.12 lacks a way to force the application to use a particular directory, where it might share the DBs with other applications. If NSS had a simply way for the user to tell all NSS appliations to use cert9 DBs in a particular directory, then FF and TB could be made to share directories without any changes to PSM. I suggest NSS_DB_DIR be used, when defined, as the directory name to override the name passed by the application. I also suggest that, when that variable is present, that the db prefix name passed by the application be ignored, and that the secmod.db be used from that same directory, regardless of the pathname for the secmod.db given by the application.
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12.1 → ---
Severity: normal → S3
Severity: S3 → N/A
Status: NEW → RESOLVED
Closed: 1 year ago
Priority: -- → P5
Resolution: --- → WONTFIX
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: WONTFIX → ---
You need to log in before you can comment on or make changes to this bug.