From 5531c9f26b1910ec9f852d5ae0da7ddf078ec8fc Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 5 Dec 2017 15:02:12 -0500 Subject: [PATCH] Don't backup nss.conf on upgrade with the switch to mod_ssl This is because if backed up it may contain IPA-specific entries like an import of ipa-rewrite.conf that on uninstall won't exist and this will keep Apache from restarting. We already have a backup of nss.conf from pre-install. Stick with that. Related: https://pagure.io/freeipa/issue/3757 Reviewed-By: Christian Heimes Reviewed-By: Stanislav Laznicka Reviewed-By: Rob Crittenden --- ipaserver/install/httpinstance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py index 61a88e2b8..e8ddd4863 100644 --- a/ipaserver/install/httpinstance.py +++ b/ipaserver/install/httpinstance.py @@ -212,7 +212,6 @@ class HTTPInstance(service.Service): # There is no safe way to co-exist since there is no safe port # to make mod_nss use, disable it completely. if os.path.exists(paths.HTTPD_NSS_CONF): - self.fstore.backup_file(paths.HTTPD_NSS_CONF) installutils.remove_file(paths.HTTPD_NSS_CONF) def set_mod_ssl_protocol(self):