File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1255,7 +1255,7 @@ if [ "$named" = 'yes' ]; then
12551255 chmod 640 /etc/bind/named.conf.options
12561256 aa-complain /usr/sbin/named 2> /dev/null
12571257 if [ " $apparmor " = ' yes' ]; then
1258- echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
1258+ echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
12591259 service apparmor status > /dev/null 2>&1
12601260 if [ $? -ne 0 ]; then
12611261 service apparmor restart
Original file line number Diff line number Diff line change @@ -1228,7 +1228,7 @@ if [ "$named" = 'yes' ]; then
12281228 chmod 640 /etc/bind/named.conf
12291229 chmod 640 /etc/bind/named.conf.options
12301230 aa-complain /usr/sbin/named > /dev/null 2>&1
1231- echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named > /dev/null 2>&1
1231+ echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2 > /dev/null
12321232 if ! grep --quiet lxc /proc/1/environ; then
12331233 service apparmor status > /dev/null 2>&1
12341234 if [ $? -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments