From 2dedfe5d33062fc7121bf36be12d7b423b62120a Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 27 Oct 2016 13:12:02 +0200 Subject: [PATCH] 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 --- ipaserver/install/ca.py | 5 +++-- 1 file 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