summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2006-04-03 16:45:30 +0000
committerjvdias <jvdias@fedoraproject.org>2006-04-03 16:45:30 +0000
commit672fed89f656b94f2a0f2cfe1d93dd752eed3e82 (patch)
treefb92a14d5c44c464e4bdc350c61f4d3124f4d32b
parent6ee543e1d7305a49f51487d6f65c95876483148f (diff)
fix bug 187529
-rw-r--r--bind-chroot-admin.in4
-rw-r--r--bind.spec7
2 files changed, 8 insertions, 3 deletions
diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in
index 7d635ae..7cedb82 100644
--- a/bind-chroot-admin.in
+++ b/bind-chroot-admin.in
@@ -229,9 +229,11 @@ function sync_files()
chown root:named ${pfx}/var/named/* >/dev/null 2>&1;
chmod 750 ${pfx}/var/named >/dev/null 2>&1;
chmod 640 ${pfx}/var/named/* >/dev/null 2>&1;
+ chmod 750 ${pfx}/var/named/*/. >/dev/null 2>&1;
chown named:named ${pfx}/var/named/{data{,/*},slaves{,*/}} >/dev/null 2>&1;
chmod 770 ${pfx}/var/named/{data,slaves} >/dev/null 2>&1;
- chmod 640 ${pfx}/var/named/{data/*,slaves/*} >/dev/null 2>&1;
+ chmod 660 ${pfx}/var/named/{data/*,slaves/*} >/dev/null 2>&1;
+ chmod 770 ${pfx}/var/named/{data/*/.,slaves/*/.} >/dev/null 2>&1;
if [ -e $changed ]; then
if [ -e /selinux/enforce ] && [ -x /sbin/restorecon ]; then
if [ -n "$pfx" ]; then
diff --git a/bind.spec b/bind.spec
index ddfef18..9e6bab9 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: 16.FC6
+Release: 18.FC6
Epoch: 30
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-root
@@ -477,7 +477,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.102 2006/03/30 23:37:14 jvdias 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.103 2006/04/03 16:45:30 jvdias 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:
@@ -796,6 +796,9 @@ rm -rf ${RPM_BUILD_ROOT}
:;
%changelog
+* Mon Apr 03 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-18
+- fix bug 187529: make bind-chroot-admin deal with subdirectories properly
+
* Thu Mar 30 2006 Jason Vas Dias <jvdias@redhat.com> - 30:9.3.2-16
- fix bug 187286:
prevent host(1) printing duplicate 'is an alias for' messages