From 0bd714939524bd84b18fb1035a2b18377c3276ee Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Apr 27 2007 13:59:11 +0000 Subject: - added forgotten restorecon statement in bind-chroot-admin --- 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; diff --git a/bind.spec b/bind.spec index 1d2329e..d45dca9 100644 --- a/bind.spec +++ b/bind.spec @@ -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 31:9.4.0-7.fc7 - removed DEBUGINFO option because with this option (default) was bind