https://fedorahosted.org/freeipa/ticket/4632
--
David Kupka
From 79a716af3a82e7cb419376c727fd655af070904e Mon Sep 17 00:00:00 2001
From: David Kupka dku...@redhat.com
Date: Tue, 4 Nov 2014 03:22:59 -0500
Subject: [PATCH] Stop dirsrv last in ipactl stop.
Other services may depend on directory server.
https://fedorahosted.org/freeipa/ticket/4632
---
install/tools/ipactl | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/install/tools/ipactl b/install/tools/ipactl
index 7a1e41b01a80eeea85c417399dcf4666f70d4b26..b1b0b6e26fa97cdc953c86eee22e160782b57379 100755
--- a/install/tools/ipactl
+++ b/install/tools/ipactl
@@ -291,12 +291,6 @@ def ipa_stop(options):
finally:
raise IpactlError()
-try:
-print Stopping Directory Service
-dirsrv.stop(capture_output=False)
-except:
-raise IpactlError(Failed to stop Directory Service)
-
for svc in reversed(svc_list):
svchandle = services.service(svc)
try:
@@ -305,6 +299,12 @@ def ipa_stop(options):
except:
emit_err(Failed to stop %s Service % svc)
+try:
+print Stopping Directory Service
+dirsrv.stop(capture_output=False)
+except:
+raise IpactlError(Failed to stop Directory Service)
+
# remove file with list of started services
try:
os.unlink(paths.SVC_LIST_FILE)
--
2.1.0
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel