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 <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Rob Crittenden authored and Stanislav Laznicka committed 2018-02-21 07:57:40 +01:00
1 parent 4596674481
commit 5531c9f26b
1 file changed
-1
-1
View File
@@ -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):