From 23d86e2d2555d304c2d1ce0292cab4fa41b93670 Mon Sep 17 00:00:00 2001 From: jvdias Date: Wed, 19 Apr 2006 00:19:58 +0000 Subject: [PATCH] fix bug 188382; deal with redundant .rpmsave links; prevent redundant backups --- bind-chroot-admin.in | 1 + 1 file changed, 1 insertion(+) diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index ce7ec3e..95e6eca 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -261,6 +261,7 @@ function sync_files() /usr/bin/chcon -h --reference=/var/named /var/named{/,/*} >/dev/null 2>&1; /usr/bin/chcon -h --reference=${BIND_CHROOT_PREFIX}/var/named/slaves /var/named/{slaves,data}{/,/*} >/dev/null 2>&1; /sbin/restorecon /var/named/named.ca ${BIND_CHROOT_PREFIX}/var/named/named.ca >/dev/null 2>&1; + /sbin/restorecon ${BIND_CHROOT_PREFIX}; /usr/bin/chcon -h --reference=${BIND_CHROOT_PREFIX}/var/named/named.ca /var/named/named.ca >/dev/null 2>&1; fi; /sbin/service named condrestart