summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-02-12 11:06:08 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-02-12 11:06:08 +0100
commit3f50601035b949db58b336e693362b0dbf1c870f (patch)
tree4121c24345d5e23421c3078862b42b6af6c191aa /src/Daemon
parentb2903ca6b5ddf65d4e9f390649797546568c0170 (diff)
downloadabrt-3f50601035b949db58b336e693362b0dbf1c870f.tar.gz
abrt-3f50601035b949db58b336e693362b0dbf1c870f.tar.xz
abrt-3f50601035b949db58b336e693362b0dbf1c870f.zip
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!
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/Settings.cpp12
1 files changed, 10 insertions, 2 deletions
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 */