diff options
author | Adam Tkac <atkac@fedoraproject.org> | 2007-04-27 13:59:11 +0000 |
---|---|---|
committer | Adam Tkac <atkac@fedoraproject.org> | 2007-04-27 13:59:11 +0000 |
commit | da5c2f58e30d85bf1fe7651fd68bc867517ad740 (patch) | |
tree | c43ad1189fc025767b79da40e3a8722f95c0991b | |
parent | 85a08fc526688d19b3bd4facb7614cb9490163f1 (diff) | |
download | bind-da5c2f58e30d85bf1fe7651fd68bc867517ad740.tar.gz bind-da5c2f58e30d85bf1fe7651fd68bc867517ad740.tar.xz bind-da5c2f58e30d85bf1fe7651fd68bc867517ad740.zip |
- added forgotten restorecon statement in bind-chroot-admin
-rw-r--r-- | bind-chroot-admin.in | 2 | ||||
-rw-r--r-- | bind.spec | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index 05dc27e..7d4a5d3 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -265,7 +265,7 @@ function sync_files() if selinux_enabled && [ -x /sbin/restorecon ]; then /sbin/restorecon -R ${BIND_CHROOT_PREFIX}/etc ${BIND_CHROOT_PREFIX}/var/named ${BIND_CHROOT_PREFIX}/var/run/named >/dev/null 2>&1; if [ -e ${BIND_CHROOT_PREFIX}/etc/localtime ] && [ -e /etc/localtime ] ; then - /usr/bin/ ${BIND_CHROOT_PREFIX}/etc/localtime >/dev/null 2>&1; + /usr/bin/restorecon ${BIND_CHROOT_PREFIX}/etc/localtime >/dev/null 2>&1; fi; /sbin/restorecon /etc/named.* >/dev/null 2>&1; /sbin/restorecon /etc/rndc.key >/dev/null 2>&1; @@ -480,7 +480,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.176 2007/04/27 13:47:51 atkac 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.177 2007/04/27 13:59:11 atkac 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: @@ -813,6 +813,7 @@ rm -rf ${RPM_BUILD_ROOT} no zone is freezed - minor cleanup in caching-nameserver's config file - fixed race-condition in dbus code (#235809) +- added forgotten restorecon statement in bind-chroot-admin * Tue Apr 17 2007 Adam Tkac <atkac redhat com> 31:9.4.0-7.fc7 - removed DEBUGINFO option because with this option (default) was bind |