659e0f Fix chcon for SELinux

Authored and Committed by Daniel J Walsh 18 years ago
1 file changed. 2 lines added. 2 lines removed.
    Fix chcon for SELinux
    
        
file modified
+2 -2
bind.spec CHANGED
@@ -776,8 +776,8 @@ fi
776
776
777
777
%post -n caching-nameserver
778
778
if [ "$1" -gt 0 ]; then
779
- /usr/bin/chcon system_u:object_r:named_conf_t /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
780
- /usr/bin/chcon system_u:object_r:named_conf_t /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
779
+ /usr/bin/chcon -t named_conf_t /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
780
+ /usr/bin/chcon -t named_conf_t /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
781
781
. /usr/sbin/bind-chroot-admin --sync;
782
782
fi;
783
783
:;