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:16:01 -0400
commit704732630cbb466c00b0d49a88a016ed7f861c63 (patch)
tree97f75f889cfa0c55b13c3f89778a910588b722fe /ipaserver
parent21441f0680c0605c849f5bb2825cadbc16bd67f7 (diff)
downloadfreeipa-704732630cbb466c00b0d49a88a016ed7f861c63.zip
freeipa-704732630cbb466c00b0d49a88a016ed7f861c63.tar.gz
freeipa-704732630cbb466c00b0d49a88a016ed7f861c63.tar.xz
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 738b329..f14efe3 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)