From 044ffc357322ff430b84685fabd321d158ac3c14 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 22 Aug 2006 11:01:33 +0000 Subject: added fix for #203522 - bind-chroot-admin -e command fails --- bind-chroot-admin.in | 1 + bind.spec | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index e748d99..682a5db 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -85,6 +85,7 @@ function check_dirs() mkdir -p ${BIND_CHROOT_PREFIX}/{etc,dev,var/{run/named,named/{slaves,data}}}; /bin/chown root:named ${BIND_CHROOT_PREFIX}/{etc,dev,var/{run,named/}}; + /bin/chown root:named ${BIND_CHROOT_PREFIX}/var; /bin/chmod 750 ${BIND_CHROOT_PREFIX}/{,etc,dev,var,var/{run,named/}}; /bin/chown named:named ${BIND_CHROOT_PREFIX}/var/{run/named,named/{data,slaves}}; /bin/chmod 770 ${BIND_CHROOT_PREFIX}/var/{run/named,named/{slaves,data}}; diff --git a/bind.spec b/bind.spec index e4e9194..1e93b3a 100644 --- a/bind.spec +++ b/bind.spec @@ -17,7 +17,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: BSD-like Version: 9.3.2 -Release: 38%{?dist} +Release: 39%{?dist} Epoch: 30 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-root @@ -524,7 +524,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int echo '@ in soa localhost. root 1 3H 15M 1W 1D ns localhost.' > sample/var/named/$f; done -/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.123 2006/08/21 10:14:57 stransky Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ +/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.124 2006/08/22 11:01:33 stransky Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ *\ * NOTE: you only need to create this file if it is to\ * differ from the following default contents: @@ -852,6 +852,9 @@ rm -rf ${RPM_BUILD_ROOT} :; %changelog +* Mon Aug 22 2006 Martin Stransky - 30:9.3.2-39 +- added fix for #203522 - "bind-chroot-admin -e" command fails + * Mon Aug 21 2006 Martin Stransky - 30:9.3.2-38 - fix for #203194 - tmpfile usage -- cgit