server.postinst, tmpfile: Create state directories for mod_auth_gssapi.

This commit is contained in:
Timo Aaltonen
2016-01-07 19:36:31 +02:00
parent 3cdf1ccf16
commit 50e50d0bbc
3 changed files with 19 additions and 0 deletions

2
debian/changelog vendored
View File

@@ -39,6 +39,8 @@ freeipa (4.3.0-1) UNRELEASED; urgency=medium
* control: Bump server and python-ipaserver dependency on python-ldap
to 2.4.22 to fix a bug on ipa-server-upgrade.
* control: Bump server dependency on oddjob to 0.34.3-2.
* server.postinst, tmpfile: Create state directories for
mod_auth_gssapi.
-- Timo Aaltonen <tjaalton@debian.org> Sat, 03 Oct 2015 08:56:31 +0300

View File

@@ -40,4 +40,18 @@ if [ ! -e /run/ipa_memcached ]; then
chown www-data:www-data /run/ipa_memcached
fi
if [ ! -e /run/apache2/ipa ]; then
mkdir -m 0700 /run/apache2/ipa
chown www-data:www-data /run/apache2/ipa
if [ ! -e /run/apache2/ipa/clientcaches ]; then
mkdir -m 0700 /run/apache2/ipa/clientcaches
chown www-data:www-data /run/apache2/ipa/clientcaches
fi
if [ ! -e /run/apache2/ipa/krbcache ]; then
mkdir -m 0700 /run/apache2/ipa/krbcache
chown www-data:www-data /run/apache2/ipa/krbcache
fi
fi
#DEBHELPER#

View File

@@ -1 +1,4 @@
d /var/run/ipa_memcached 0700 www-data www-data
d /var/run/apache2/ipa 0700 www-data www-data
d /var/run/apache2/ipa/clientcaches 0700 www-data www-data
d /var/run/apache2/ipa/krbcache 0700 www-data www-data