mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-03 04:40:31 -06:00
Always set hostname
This prevents cases when hostname on system is set inconsistently (transient and static hostname differs) and may cause IPA errors. This commit ensures that all hostnames are set properly. https://fedorahosted.org/freeipa/ticket/5794 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
1 parent
14ee02dcbd
commit
c5686295f1
6 files changed
+36
-64
No files matched your search
@@ -713,12 +713,12 @@ def uninstall(options, env):
|
||||
root_logger.warning(
|
||||
"Failed to disable automatic startup of the SSSD daemon: %s", e)
|
||||
|
||||
tasks.restore_hostname(fstore, statestore)
|
||||
|
||||
if fstore.has_files():
|
||||
root_logger.info("Restoring client configuration files")
|
||||
tasks.restore_network_configuration(fstore, statestore)
|
||||
fstore.restore_all_files()
|
||||
|
||||
ipautil.restore_hostname(statestore)
|
||||
unconfigure_nisdomain()
|
||||
|
||||
nscd = services.knownservices.nscd
|
||||
|
||||
Reference in new issue
Block a user