]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fri Feb 6 07:48:45 CST 2009 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 17:37:39 +0000 (17:37 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 17:37:39 +0000 (17:37 +0000)
  * 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

index b93b285b3fd1ab95ca2d7b93dd2f62726c20711d..9888337871e56493a78d1c1cbf684d345486bf31 100644 (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
 }