e3ffab
From 86509bce6c14f4b7c791e0de2494c3df2f0aba2d Mon Sep 17 00:00:00 2001
e3ffab
From: Simo Sorce <simo@redhat.com>
e3ffab
Date: Tue, 16 Dec 2014 14:47:42 -0500
e3ffab
Subject: [PATCH] Remove the removal of the ccache
e3ffab
e3ffab
It is not necessary to remove the ccache on upgrades on modern IPA
e3ffab
servers, even if the ccache contains stale data either it is re-initialized by
e3ffab
mod_auth_kerb or a new ccache collection is created (if completely unrelated
e3ffab
credentials were present), at least when using DIR or keyring ccaches.
e3ffab
e3ffab
This line causes wrong SELinux labels to be set in the kernel keyring on
e3ffab
uprades, which the cause the apache server to fail to use th ccache.
e3ffab
e3ffab
https://fedorahosted.org/freeipa/ticket/4815
e3ffab
e3ffab
Reviewed-By: Martin Kosek <mkosek@redhat.com>
e3ffab
---
e3ffab
 install/tools/ipa-upgradeconfig | 1 -
e3ffab
 1 file changed, 1 deletion(-)
e3ffab
 mode change 100644 => 100755 install/tools/ipa-upgradeconfig
e3ffab
e3ffab
diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig
e3ffab
old mode 100644
e3ffab
new mode 100755
e3ffab
index 6b687fbd73d01f6574cd8ea3193cedba4d5c0e67..005f3a72df115e63c81a7ca8825fb12cac0a5f81
e3ffab
--- a/install/tools/ipa-upgradeconfig
e3ffab
+++ b/install/tools/ipa-upgradeconfig
e3ffab
@@ -1382,7 +1382,6 @@ def main():
e3ffab
         fstore.restore_file(removed_sysconfig_file)
e3ffab
 
e3ffab
     http = httpinstance.HTTPInstance(fstore)
e3ffab
-    http.remove_httpd_ccache()
e3ffab
     http.configure_selinux_for_httpd()
e3ffab
     http.change_mod_nss_port_from_http()
e3ffab
 
e3ffab
-- 
e3ffab
2.1.0
e3ffab