summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bind-chroot-admin.in2
-rw-r--r--bind.spec1
2 files changed, 2 insertions, 1 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;
diff --git a/bind.spec b/bind.spec
index 2981269..698bceb 100644
--- a/bind.spec
+++ b/bind.spec
@@ -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