diff options
Diffstat (limited to 'ipa-client/ipa-install')
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 1caf9c1ee..fe4e1e4dd 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -183,6 +183,11 @@ def uninstall(options, env): # Always start certmonger. We can't untrack something if it isn't # running try: + ipautil.service_start('messagebus') + except Exception, e: + logging.error("messagebus failed to start: %s" % str(e)) + + try: ipautil.service_start('certmonger') except Exception, e: logging.error("certmonger failed to start: %s" % str(e)) @@ -493,6 +498,11 @@ def configure_certmonger(fstore, subject_base, cli_realm, hostname, options): started = True principal = 'host/%s@%s' % (hostname, cli_realm) + try: + ipautil.service_start('messagebus') + except Exception, e: + logging.error("messagebus failed to start: %s" % str(e)) + # Ensure that certmonger has been started at least once to generate the # cas files in /var/lib/certmonger/cas. try: |