summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Laznicka <slaznick@redhat.com>2016-10-13 08:12:43 +0200
committerJan Cholasta <jcholast@redhat.com>2016-11-11 12:13:56 +0100
commiteac6f52957c361c219ad6048b515ddb62da31154 (patch)
tree6140a593389d673001affbd302e6e5aac4af2afc
parent961773bd0455e6fc723dbbed4f53e4b483360c32 (diff)
downloadfreeipa-eac6f52957c361c219ad6048b515ddb62da31154.tar.gz
freeipa-eac6f52957c361c219ad6048b515ddb62da31154.tar.xz
freeipa-eac6f52957c361c219ad6048b515ddb62da31154.zip
Remove redundant dsinstance restart
Removed a redundant restart in server install which was there only so other methods of dsinstance would not fail as they would use the wrong connection mentioned above. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
-rw-r--r--ipaserver/install/server/install.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index ff99e78b4..34d6793d1 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -843,14 +843,11 @@ def install(installer):
ipautil.realm_to_suffix(realm_name), options.subject)
# Apply any LDAP updates. Needs to be done after the configuration file
- # is created
+ # is created. DS is restarted in the process.
service.print_msg("Applying LDAP updates")
ds.apply_updates()
- # Restart ds and krb after configurations have been changed
- service.print_msg("Restarting the directory server")
- ds.restart()
-
+ # Restart krb after configurations have been changed
service.print_msg("Restarting the KDC")
krb.restart()