summaryrefslogtreecommitdiffstats
path: root/bind.spec
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@fedoraproject.org>2006-08-28 14:05:37 +0000
committerDaniel J Walsh <dwalsh@fedoraproject.org>2006-08-28 14:05:37 +0000
commitdca095b9d3024f60432fca84c717075c46b4bb61 (patch)
treeed06060df1339dbddb77573c22c5c3c42ae7eec8 /bind.spec
parent550ea4cd88d1dc6fd28b4a1ff9901e3764a4a2ab (diff)
Fix chcon for SELinux
Diffstat (limited to 'bind.spec')
-rw-r--r--bind.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/bind.spec b/bind.spec
index 1e93b3a..e0ef7d3 100644
--- a/bind.spec
+++ b/bind.spec
@@ -524,7 +524,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int
echo '@ in soa localhost. root 1 3H 15M 1W 1D
ns localhost.' > sample/var/named/$f;
done
-/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.124 2006/08/22 11:01:33 stransky Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
+/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.125 2006/08/28 14:05:37 dwalsh Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
*\
* NOTE: you only need to create this file if it is to\
* differ from the following default contents:
@@ -776,8 +776,8 @@ fi
%post -n caching-nameserver
if [ "$1" -gt 0 ]; then
- /usr/bin/chcon system_u:object_r:named_conf_t /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
- /usr/bin/chcon system_u:object_r:named_conf_t /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
+ /usr/bin/chcon -t named_conf_t /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
+ /usr/bin/chcon -t named_conf_t /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
. /usr/sbin/bind-chroot-admin --sync;
fi;
:;