fix bug 145664
This commit is contained in:
parent
23b1ff2738
commit
2dbdf52e23
@ -46,6 +46,7 @@ start() {
|
||||
. /etc/selinux/config
|
||||
if [ "$SELINUXTYPE" != "" ] && [ -d /etc/selinux/${SELINUXTYPE} ] && [ -e /etc/selinux/${SELINUXTYPE}/booleans ]; then
|
||||
. /etc/selinux/${SELINUXTYPE}/booleans
|
||||
if echo "$named_write_master_zones" | /bin/egrep -q '^[0-9]+$'; then
|
||||
if [ "$named_write_master_zones" -eq 1 ] ; then
|
||||
/bin/chown -f --from=root:named named:named $ROOTDIR/var/named
|
||||
elif [ "$named_write_master_zones" -eq 0 ] ; then
|
||||
@ -53,6 +54,7 @@ start() {
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
conf_ok=0;
|
||||
if [ -x /usr/sbin/named-checkconf ] && /usr/sbin/named-checkconf $ckcf_options; then
|
||||
conf_ok=1;
|
||||
|
Loading…
Reference in New Issue
Block a user