From 394cc90bfed2cdaea9ba22782e22a719a5606721 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 11 Feb 2009 17:37:39 +0000 Subject: [PATCH] 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 --- libs/sofia-sip/libsofia-sip-ua/sresolv/run_test_sresolv | 4 ++++ 1 file changed, 4 insertions(+) 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 }