I'm trying to get apparmor set up on my system and am having troubles getting past the permission denied error:ping: error while loading shared libraries: libcap.so.2: cannot stat shared object: Permission deniedThis is my policy for ping:#include <tunables/global>/{usr/,}bin/ping {#include <abstractions/base>#include <abstractions/consoles>#include <abstractions/nameservice>capability net_raw,capability setuid,#network inet raw,#network inet stream,network icmp,/bin/ping mixr,/etc/modules.conf r,# Site-specific additions and overrides. See local/README for details.#include <local/bin.ping>}In complain mode, I don't get any logs complaining about loading the library.  I only get it in enforce mode and of course the ping program doesn't work.  I get this error with the other profiles as well so I'm wondering if my abstractions/base or tunables/global files are correct?I'm running this on Funtoo (Gentoo) Linux.Output from equery b libcap.so.2: * Searching for libcap.so.2 ...  sys-libs/libcap-2.25 (/usr/lib32/libcap.so.2 -> libcap.so.2.25) sys-libs/libcap-2.25 (/lib64/libcap.so.2 -> libcap.so.2.25)I should also note that I have the same problem with syslog-ng.  If the syslog policies are in enforce mode, syslog won't start and will complain that it cannot open libsyslog-ng-3.7.so.0.
apparmor - cannot load library
permissions;gentoo;shared library;apparmor;funtoo