diff options
| author | Daniel J Walsh <dwalsh@fedoraproject.org> | 2006-08-28 14:05:37 +0000 |
|---|---|---|
| committer | Daniel J Walsh <dwalsh@fedoraproject.org> | 2006-08-28 14:05:37 +0000 |
| commit | dca095b9d3024f60432fca84c717075c46b4bb61 (patch) | |
| tree | ed06060df1339dbddb77573c22c5c3c42ae7eec8 /bind.spec | |
| parent | 550ea4cd88d1dc6fd28b4a1ff9901e3764a4a2ab (diff) | |
Fix chcon for SELinux
Diffstat (limited to 'bind.spec')
| -rw-r--r-- | bind.spec | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; :; |
