From eac6f52957c361c219ad6048b515ddb62da31154 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Nov 11 2016 11:13:56 +0000 Subject: 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 Reviewed-By: Jan Cholasta --- diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py index ff99e78..34d6793 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()