Remove the removal of the ccache

It is not necessary to remove the ccache on upgrades on modern IPA
servers, even if the ccache contains stale data either it is re-initialized by
mod_auth_kerb or a new ccache collection is created (if completely unrelated
credentials were present), at least when using DIR or keyring ccaches.

This line causes wrong SELinux labels to be set in the kernel keyring on
uprades, which the cause the apache server to fail to use th ccache.

https://fedorahosted.org/freeipa/ticket/4815

Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
Simo Sorce 2014-12-16 14:47:42 -05:00 committed by Martin Kosek
parent 730b472db1
commit 4f1fdc8f70

1
install/tools/ipa-upgradeconfig Normal file → Executable file
View File

@ -1337,7 +1337,6 @@ def main():
fstore.restore_file(removed_sysconfig_file)
http = httpinstance.HTTPInstance(fstore)
http.remove_httpd_ccache()
http.configure_selinux_for_httpd()
http.change_mod_nss_port_from_http()