Open Bug 595986 Opened 15 years ago Updated 2 years ago

NSS_InitWithMerge fails to merge until second invocation

Categories

(NSS :: Libraries, defect, P5)

x86_64
Linux

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: dwmw2, Assigned: rrelyea)

Details

(Whiteboard: [psm-shared-db])

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.7) Gecko/20100803 Fedora/3.6.7-1.fc13 Firefox/3.6.7 Build Identifier: nss-3.12.6-12.fc13.x86_64 (From Red Hat bug #633060) No system nss db here; this is just converting from DBM to SQL. We observed that Evolution was only actually managing to copy the contents from the old DBM database to the new SQL database the *second* time we ran it. It seems to be reproducible with certutil: [dwmw2@i7 .pki]$ rm -rf nssdb [dwmw2@i7 .pki]$ mkdir nssdb [dwmw2@i7 .pki]$ certutil --upgrade-merge -d sql:/home/dwmw2/.pki/nssdb --source-dir /home/dwmw2/.local/share/evolution --source-prefix "" --upgrade-id foodatabase already upgraded. [dwmw2@i7 .pki]$ certutil -d sql:/home/dwmw2/.pki/nssdb -L Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI [dwmw2@i7 .pki]$ certutil --upgrade-merge -d sql:/home/dwmw2/.pki/nssdb --source-dir /home/dwmw2/.local/share/evolution --source-prefix "" --upgrade-id foo database already upgraded. [dwmw2@i7 .pki]$ certutil -d sql:/home/dwmw2/.pki/nssdb -L | head Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI jis@mit.edu ,p, ryan.r.ware@intel.com ,, renaud@allard.it ,, Collaboration Certification Authority - VeriSign, Inc. ,, Intel Intranet Basic Issuing CA 2A 20060524 CT,C,C kbn@daimi.au.dk ,p, Reproducible: Always
Assignee: nobody → rrelyea
Whiteboard: [psm-shared-db]
Hmm it's interesting that in both cases you get 'database already upgraded'.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: normal → S3
Severity: S3 → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.