Make sure messagebus is running prior to starting certmonger.

ticket 1580
This commit is contained in:
Jan Cholasta
2011-08-09 12:37:56 +02:00
committed by Rob Crittenden
parent cc86c1459b
commit 1ec531469e
3 changed files with 12 additions and 2 deletions

View File

@@ -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)