fix bug 188382; deal with redundant .rpmsave links; prevent redundant
backups
This commit is contained in:
parent
d74c490fb8
commit
44c905044b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue