Re: [Freeipa-devel] [PATCH] 0026 Stop dirsrv last in ipactl stop.

2014-11-06 Thread Jan Cholasta

Hi,

Dne 4.11.2014 v 12:57 David Kupka napsal(a):

https://fedorahosted.org/freeipa/ticket/4632


Thanks, ACK.

Honza

--
Jan Cholasta

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Re: [Freeipa-devel] [PATCH] 0026 Stop dirsrv last in ipactl stop.

2014-11-06 Thread Petr Vobornik

On 6.11.2014 10:32, Jan Cholasta wrote:

Hi,

Dne 4.11.2014 v 12:57 David Kupka napsal(a):

https://fedorahosted.org/freeipa/ticket/4632


Thanks, ACK.

Honza



Pushed to:
master: 9335552418e515cd97da549da403447e5cae842c
ipa-4-1: 25abb1154b7b9b6164612f624143bc583e896b12
--
Petr Vobornik

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


[Freeipa-devel] [PATCH] 0026 Stop dirsrv last in ipactl stop.

2014-11-04 Thread David Kupka

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