]> sourceware.org Git - systemtap.git/commitdiff
PR23356: stap-serverd: switch back to dbm: nss databases
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 30 Jun 2018 21:00:20 +0000 (17:00 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Sat, 30 Jun 2018 21:00:20 +0000 (17:00 -0400)
The sqlite sql: nss ones seem to have different
authentication/login/password protocols as on rawhide, and our logic
can't quite play right with them.  Maybe it's due to possible
concurrent access from a stap-serverd and stap client (when both run
as root).  Whatever it is, plain dbm: seems to restore function,
even if with a warning about "legacy database".

nsscommon.cxx

index e7ad7953fd72225dd8f571773c4825a8535d2b94..b4026d64a581425008ddfb1b5d77e890f6eeb221 100644 (file)
@@ -60,7 +60,7 @@ server_cert_nickname ()
 
 string
 add_cert_db_prefix (const string &db_path) {
-#if (NSS_VMAJOR > 3) || (NSS_VMAJOR == 3 && NSS_VMINOR >= 37)
+#if 0 && ((NSS_VMAJOR > 3) || (NSS_VMAJOR == 3 && NSS_VMINOR >= 37))
   // https://wiki.mozilla.org/NSS_Shared_DB
   if (db_path.find (':') == string::npos)
     return string("sql:") + db_path;
This page took 0.028778 seconds and 5 git commands to generate.