From: Michael Jerris Date: Wed, 11 Feb 2009 17:37:39 +0000 (+0000) Subject: Fri Feb 6 07:48:45 CST 2009 Pekka Pessi X-Git-Tag: v1.0.3~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394cc90bfed2cdaea9ba22782e22a719a5606721;p=thirdparty%2Ffreeswitch.git Fri Feb 6 07:48:45 CST 2009 Pekka Pessi * run_test_sresolv: check for apparmor, too git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11871 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/sofia-sip/libsofia-sip-ua/sresolv/run_test_sresolv b/libs/sofia-sip/libsofia-sip-ua/sresolv/run_test_sresolv index b93b285b3f..9888337871 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sresolv/run_test_sresolv +++ b/libs/sofia-sip/libsofia-sip-ua/sresolv/run_test_sresolv @@ -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 }