move IPA-related http runtime directories to common subdirectory

When both 'mod_auth_kerb' and 'mod_auth_gssapi' are installed at the same
time, they use common directory for storing Apache ccache file. Uninstallation
of 'mod_auth_kerb' removes this directory leading to invalid CCache path for
httpd and authentication failure.

Using an IPA-specific directory for credential storage during apache runtime
avoids this issue.

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

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Martin Babinsky authored and Jan Cholasta committed 2015-05-19 12:59:18 +00:00
1 parent 0167919ba8
commit 7ff7b1f533
4 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
.include /usr/lib/systemd/system/httpd.service
[Service]
Environment=KRB5CCNAME=/var/run/httpd/krbcache/krb5ccache
Environment=KRB5CCNAME=/var/run/httpd/ipa/krbcache/krb5ccache
+3 -1
View File
@@ -1,3 +1,5 @@
d /var/run/ipa_memcached 0700 apache apache
d /var/run/ipa 0700 root root
d /var/run/httpd/clientcaches 0700 apache apache
d /var/run/httpd/ipa 0700 apache apache
d /var/run/httpd/ipa/clientcaches 0700 apache apache
d /var/run/httpd/ipa/krbcache 0700 apache apache