pki-bot / pki-issues-final

0 stars 0 forks source link

Multiple database access via JSS #967

Open pki-bot opened 4 years ago

pki-bot commented 4 years ago

This issue was migrated from Pagure Issue #974. Originally filed by edewata (@edewata) on 2014-04-23 22:16:54:


The current JSS API is based on an old NSS API which can only access a single database for the whole duration of the JVM. It doesn't seem to be possible to access multiple databases, either concurrently or consecutively, without restarting the JVM.

NSS provided an explanation why this is a problem and provided a new API as a solution: https://wiki.mozilla.org/NSS_Library_Init. The JSS API would have to be updated to use the new NSS API.

The NSS problem described above doesn't necessarily apply to Dogtag, but there might be situations where it can be useful to support multiple databases:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2014-04-29 00:05:39

Per CS/DS meeting of 04/28/2014 - 10.4.

Additionally, it was discussed in this meeting to also move PKI TRAC Ticket 167 - Update Dogtag 10 to utilize the shared NSS database model to 10.4.

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2017-02-27 14:06:57

Metadata Update from @edewata:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-07-06 14:50:11

cfu, jmagne, mharmsen not sure if you saw this but Kaie is proposing to switch the NSS to default to sqlite format in F-27. https://fedoraproject.org/wiki/Changes/NSSDefaultFileFormatSql rcrit: thanks -- we were not aware of this, but we do have a long-standing ticket for it -- https://pagure.io/dogtagpki/issue/167 yeah, I figure it'll up the timetable on these 389-ds has a similar ticket, https://pagure.io/389-ds-base/issue/48760 rcrit: also https://pagure.io/389-ds-base/issue/47681 Ok, I'll let Mark know so he can close one as a dup rcrit: yep rcrit: just scanned Kaie's doc, but will they have a flag to create the old NSS db format? you have to specify dbm:/path/to/nss/database
pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-07-06 14:50:11

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from ftweedal (@frasertweedale) at 2017-07-10 17:32:34

This is the push we need to finally start using the new DB format.

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-08-04 17:30:32

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2017-09-07 12:48:10

See also https://pagure.io/dogtagpki/issue/1176

pki-bot commented 4 years ago

Comment from edewata (@edewata) at 2017-09-07 13:53:34

Upstream JSS ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1397824

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-09-25 16:22:58

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-09-25 17:18:45

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 18:31:08

[20171025] - Offline Triage ==> 10.6

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 18:31:09

Metadata Update from @mharmsen: