rules, -server.postinst: Create /var/cache/bind/data owned by bind user.

This commit is contained in:
Timo Aaltonen 2014-11-05 14:33:50 +02:00
parent ae77a903eb
commit 3a985634e8
3 changed files with 10 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ freeipa (4.0.4-3) UNRELEASED; urgency=medium
* control: Update my email address.
* fix-bind-conf.diff: Fix bind config template to use Debian specific
paths. (Closes: #768122)
* rules, -server.postinst: Create /var/cache/bind/data owned by bind
user.
-- Timo Aaltonen <tjaalton@debian.org> Tue, 04 Nov 2014 12:16:54 +0200

View File

@ -26,6 +26,7 @@ if [ "$1" = configure ]; then
apache2_invoke enmod rewrite || exit $?
fi
fi
chown root:bind /var/cache/bind/data
fi
if [ ! -e /run/ipa_memcached ]; then

7
debian/rules vendored
View File

@ -93,5 +93,12 @@ endif
override_dh_install:
dh_install --fail-missing
ifneq ($(ONLY_CLIENT), 1)
mkdir -m 770 -p $(CURDIR)/debian/freeipa-server/var/cache/bind/data
endif
override_dh_fixperms:
dh_fixperms -X var/cache/bind/data
%:
dh $@ --with autoreconf,python2,systemd