From 3f50601035b949db58b336e693362b0dbf1c870f Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Fri, 12 Feb 2010 11:06:08 +0100 Subject: fixed problem with bugzilla+nss - it's more workaround which makes rpmlib to reinitialize nss hash functions and that make xmlrpc works properly after fork() we need to find a proper place to fix this! --- src/Daemon/Settings.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp index 9b0376b..5644d37 100644 --- a/src/Daemon/Settings.cpp +++ b/src/Daemon/Settings.cpp @@ -376,8 +376,16 @@ void LoadSettings() ParseCommon(); ParseAnalyzerActionsAndReporters(); ParseCron(); - if(g_settings_bOpenGPGCheck) - LoadGPGKeys(); + + /* + loading gpg keys will invoke LoadOpenGPGPublicKey() from rpm.cpp + pgpReadPkts which makes nss to re-init and thus makes + bugzilla plugin work :-/ + */ + + //FIXME FIXME FIXME FIXME FIXME FIXME!!! + //if(g_settings_bOpenGPGCheck) + LoadGPGKeys(); } /* dbus call to retrieve .conf file data from daemon */ -- cgit