summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2011-08-09 12:37:56 +0200
committerRob Crittenden <rcritten@redhat.com>2011-08-18 20:15:48 -0400
commit1ec531469ee0cf91ed9e150307d93e5ab12aa2a6 (patch)
treed98a838ab4097225432ef6387ca606c272633e88 /ipaserver
parentcc86c1459bf22dc74129e196aeaf78f6a11a0882 (diff)
downloadfreeipa-1ec531469ee0cf91ed9e150307d93e5ab12aa2a6.tar.gz
freeipa-1ec531469ee0cf91ed9e150307d93e5ab12aa2a6.tar.xz
freeipa-1ec531469ee0cf91ed9e150307d93e5ab12aa2a6.zip
Make sure messagebus is running prior to starting certmonger.
ticket 1580
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/certs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
index 738b329a6..f14efe33f 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -484,6 +484,7 @@ class CertDB(object):
Tell certmonger to track the given certificate nickname.
"""
service.chkconfig_on("certmonger")
+ service.start("messagebus")
service.start("certmonger")
try:
(stdout, stderr, rc) = certmonger.start_tracking(nickname, self.secdir, password_file)
@@ -513,6 +514,7 @@ class CertDB(object):
# Always start certmonger. We can't untrack something if it isn't
# running
+ service.start("messagebus")
service.start("certmonger")
try:
certmonger.stop_tracking(self.secdir, nickname=nickname)