diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-10-15 17:49:07 +0000 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-01-15 17:44:10 +0100 |
commit | 7ce3320996e9666581a2b4495b5063b5d99aa937 (patch) | |
tree | 642a441f481d881ef20d1506a553b9231ebef803 /ipaserver | |
parent | cb411ff94e71579e2a608319b1c7eab877b98019 (diff) | |
download | freeipa-7ce3320996e9666581a2b4495b5063b5d99aa937.tar.gz freeipa-7ce3320996e9666581a2b4495b5063b5d99aa937.tar.xz freeipa-7ce3320996e9666581a2b4495b5063b5d99aa937.zip |
Do not start the service in stopped_service if it was not running before.
This fixes a possible NSS database corruption in renew_ca_cert.
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/installutils.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index c6376d828..4cc33ac56 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -821,9 +821,6 @@ def stopped_service(service, instance_name=""): root_logger.debug('Service %s%s is not running, continue.', service, log_instance_name) yield - root_logger.debug('Starting %s%s.', service, log_instance_name) - ipaservices.knownservices[service].start(instance_name) - return else: # Stop the service, do the required stuff and start it again root_logger.debug('Stopping %s%s.', service, log_instance_name) |