From 44c905044bbee14519a686b823d6059af3a74bba Mon Sep 17 00:00:00 2001 From: jvdias Date: Wed, 19 Apr 2006 00:15:44 +0000 Subject: [PATCH] fix bug 188382; deal with redundant .rpmsave links; prevent redundant backups --- bind-chroot-admin.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index cf92e96..ce7ec3e 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -259,7 +259,7 @@ function sync_files() /usr/bin/chcon -h --reference=/etc/rndc.key /etc/rndc.key >/dev/null 2>&1; /usr/bin/chcon -h --reference=/etc/rndc.conf /etc/rndc.conf >/dev/null 2>&1; /usr/bin/chcon -h --reference=/var/named /var/named{/,/*} >/dev/null 2>&1; - /usr/bin/chcon -h --reference=/var/named/slaves /var/named/{slaves,data}{/,/*} >/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; /usr/bin/chcon -h --reference=${BIND_CHROOT_PREFIX}/var/named/named.ca /var/named/named.ca >/dev/null 2>&1; fi;