Dne 22.10.2014 v 13:30 David Kupka napsal(a):
On 10/22/2014 11:28 AM, Jan Cholasta wrote:
Hi,

the attached patch fixes <https://fedorahosted.org/freeipa/ticket/4660>.

Honza



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

Works for me, ACK.

Thanks.

See attachment for ipa-4-0 version of the patch.

--
Jan Cholasta
>From dcb53769739e74de865ed54c5ee22f15eb287abc Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Wed, 22 Oct 2014 11:18:35 +0200
Subject: [PATCH] Do not check if port 8443 is available in step 2 of external
 CA install

The port is never available in step 2 of external CA install, as Dogtag is
already running.

https://fedorahosted.org/freeipa/ticket/4660
---
 install/tools/ipa-server-install | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index beb5cfe..3d34d4b 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -803,10 +803,11 @@ def main():
         # Make sure the 389-ds ports are available
         check_dirsrv(options.unattended)
 
-    if setup_ca:
-        if not cainstance.check_port():
-            print "IPA requires port 8443 for PKI but it is currently in use."
-            sys.exit("Aborting installation")
+        if setup_ca:
+            if not cainstance.check_port():
+                print ("IPA requires port 8443 for PKI but it is currently in "
+                       "use.")
+                sys.exit("Aborting installation")
 
     if options.conf_ntp:
         try:
-- 
1.9.3

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

Reply via email to