Fri Feb 6 07:48:45 CST 2009 Pekka Pessi <first.last@nokia.com>

* run_test_sresolv: check for apparmor, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11871 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-11 17:37:39 +00:00
parent a53ebf2c0d
commit 394cc90bfe
1 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,10 @@ test -r $t/named.pid || {
echo $0: cannot start named >&2 ;
if fgrep -i -e SELINUX=enforcing /etc/selinux/config >/dev/null 2>&1 ; then
echo $0: perhaps you have to disable SELinux protection for named
elif test -d /etc/apparmor.d ; then
echo $0: perhaps you have to disable apparmor protection for named
else
echo $0: perhaps you have to disable apparmor or SELinux
fi
exit 77
}