ipa-restore: remove /etc/httpd/conf.d/nss.conf

When ipa-restore is called, it needs to delete the file
nss.conf, otherwise httpd server will try to initialize
the NSS engine and access NSSCertificateDatabase.
This is a regression introduced with the switch from NSS
to SSL.

https://pagure.io/freeipa/issue/7440

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Florence Blanc-Renaud
2018-03-12 15:59:33 +01:00
committed by Christian Heimes
parent 7960352f1c
commit 105e774914

View File

@@ -147,7 +147,9 @@ class Restore(admintool.AdminTool):
paths.DNSSEC_TOKENS_DIR,
]
FILES_TO_BE_REMOVED = []
FILES_TO_BE_REMOVED = [
paths.HTTPD_NSS_CONF,
]
def __init__(self, options, args):
super(Restore, self).__init__(options, args)