summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-10-27 13:12:02 +0200
committerJan Cholasta <jcholast@redhat.com>2016-11-11 12:13:56 +0100
commit2dedfe5d33062fc7121bf36be12d7b423b62120a (patch)
treea68433909c97107db9b02522eb6c8cdc980fdb87 /ipaserver
parent31a9ef4f8b8e2d6bb11f68ce34a7575ced9816aa (diff)
downloadfreeipa-2dedfe5d33062fc7121bf36be12d7b423b62120a.tar.gz
freeipa-2dedfe5d33062fc7121bf36be12d7b423b62120a.tar.xz
freeipa-2dedfe5d33062fc7121bf36be12d7b423b62120a.zip
server install: do not restart httpd during CA install
At this point, httpd is not configured and the restart fails. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/ca.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipaserver/install/ca.py b/ipaserver/install/ca.py
index 50c27e944..b9db14cc7 100644
--- a/ipaserver/install/ca.py
+++ b/ipaserver/install/ca.py
@@ -245,8 +245,9 @@ def install_step_1(standalone, replica_config, options):
ca.start('pki-tomcat')
- # We need to restart apache as we drop a new config file in there
- services.knownservices.httpd.restart(capture_output=True)
+ if standalone or replica_config is not None:
+ # We need to restart apache as we drop a new config file in there
+ services.knownservices.httpd.restart(capture_output=True)
if standalone:
# Install CA DNS records