Bug 1496560

Summary: [RFE] Change NSS in Fedora 28 to use the `sql` database format by default
Product: [Fedora] Fedora Reporter: Kai Engert (:kaie) (inactive account) <kengert>
Component: nssAssignee: Kai Engert (:kaie) (inactive account) <kengert>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dueno, elio.maldonado.batiz, herrold, kdudka, kengert, rrelyea, slaznick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nss-util-3.33.0-3.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-23 19:36:47 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: 1496562, 1496563, 1496565, 1496569, 1505487, 1505493    
Bug Blocks: 1474771    

Description Kai Engert (:kaie) (inactive account) 2017-09-27 18:47:16 UTC
Change the NSS library default to use the sqlite based data storage, when applications don't specify their preferred storage file format.

Let's make this change in Fedora 28.

(We missed F27, which bug 1474771 was about. I believe we don't need a "Fedora Change" tracking but for F28, if we're early.)

Comment 1 Kai Engert (:kaie) (inactive account) 2017-09-27 19:08:31 UTC
Besides firefox bug 1496563 and thunderbird bug 1496565, it's possible that additional Fedora applications might require fixes for compatibility with the NSS default changing to sqlite.

If an application explicitly initializes/configures sqlite, those applications must ensure that sqlite it initialized prior to NSS init.

Also, an application must delay any explicit sqlite shutdown until after NSS shutdown.

Applications that rely on implicit sqlite init and implicit sqlite shutdown shouldn't require changes.

If you discover an application that requires such changes, please file a separate bug against that component, and please add a reference to this bug.

Comment 2 Kai Engert (:kaie) (inactive account) 2017-11-07 12:51:18 UTC
This change has been approved in bug 1474771.

Comment 3 Kai Engert (:kaie) (inactive account) 2017-11-07 13:25:46 UTC
The change has been applied.

This nss-util build implements the change:
  https://koji.fedoraproject.org/koji/taskinfo?taskID=22973722
  nss-util-3.33.0-3.fc28

To ensure that the NSS test suite is still working, a patch has been applied to the nss package, and is building here:
  https://koji.fedoraproject.org/koji/taskinfo?taskID=22973901

Comment 4 Kai Engert (:kaie) (inactive account) 2017-11-08 16:03:10 UTC
The main nss package required a fix to the test scripts.
New build running here:
  https://koji.fedoraproject.org/koji/taskinfo?taskID=22993971