From: Frank Ch. Eigler Date: Sat, 30 Jun 2018 21:00:20 +0000 (-0400) Subject: PR23356: stap-serverd: switch back to dbm: nss databases X-Git-Tag: release-4.0~203 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c2e2d5ff5f0c09b5f0946f494785ac035066f899;p=systemtap.git PR23356: stap-serverd: switch back to dbm: nss databases 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". --- diff --git a/nsscommon.cxx b/nsscommon.cxx index e7ad7953f..b4026d64a 100644 --- a/nsscommon.cxx +++ b/nsscommon.cxx @@ -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;