659e0f
Fix chcon for SELinux
@@ -776,8 +776,8 @@ fi
|
|
776
776
|
|
777
777
|
%post -n caching-nameserver
|
778
778
|
if [ "$1" -gt 0 ]; then
|
779
|
-
/usr/bin/chcon
|
780
|
-
/usr/bin/chcon
|
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
|
:;
|