mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
4596674481
commit
5531c9f26b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user