9991ea
From a923cedc1aedafe7f58d480a633257bd19809d72 Mon Sep 17 00:00:00 2001
9991ea
From: Jan Cholasta <jcholast@redhat.com>
9991ea
Date: Tue, 15 Oct 2013 17:49:07 +0000
9991ea
Subject: [PATCH 27/27] Do not start the service in stopped_service if it was
9991ea
 not running before.
9991ea
9991ea
This fixes a possible NSS database corruption in renew_ca_cert.
9991ea
---
9991ea
 ipaserver/install/installutils.py | 3 ---
9991ea
 1 file changed, 3 deletions(-)
9991ea
9991ea
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
9991ea
index 3770432cae79f653fd57f726de43787dec8dd7d1..32671adc895b0cb2632729e8bdb44b5df02c1314 100644
9991ea
--- a/ipaserver/install/installutils.py
9991ea
+++ b/ipaserver/install/installutils.py
9991ea
@@ -819,9 +819,6 @@ def stopped_service(service, instance_name=""):
9991ea
         root_logger.debug('Service %s%s is not running, continue.', service,
9991ea
                           log_instance_name)
9991ea
         yield
9991ea
-        root_logger.debug('Starting %s%s.', service, log_instance_name)
9991ea
-        ipaservices.knownservices[service].start(instance_name)
9991ea
-        return
9991ea
     else:
9991ea
         # Stop the service, do the required stuff and start it again
9991ea
         root_logger.debug('Stopping %s%s.', service, log_instance_name)
9991ea
-- 
9991ea
1.8.4.2
9991ea