As I expected, one of the log lines is type=AVC msg=audit(1429552705.245:1376430): apparmor="DENIED" operation="ptrace" profile="/usr/lib/nagios/plugins/check_denyhosts.pl///bin/ps" pid=2855 comm="ps" requested_mask="trace" denied_mask="trace" peer="/usr/lib/nagios/plugins/check_denyhosts.pl"
and that (and the backtrace) confirms that you hit the problem that this is a duplicate of bug 1307665, therefore I'm closing it for upstream AppArmor. I'll leave the Ubuntu part open - an update is really needed... For testing with latest upstream code - I assume you still have the tools, libapparmor etc. still installed and additionally downloaded the tarball. (If you uninstalled some packages, please re-install them.) Your error message indicates that that the 2.9.1 tools can't find the python LibAppArmor bindings, so either it's not installed or it's built for a different python version (I'm not using Ubuntu, therefore I don't know version details). You can try with different python interpreters: python2 ./aa-logprof # or python3 ./aa-logprof ** Changed in: apparmor Status: Incomplete => Fix Committed ** Changed in: apparmor Status: Fix Committed => Fix Released ** Changed in: apparmor Milestone: None => 2.9.2 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1445219 Title: aa-logprof hangs indefinitely in Ubuntu 14.04 LTS Status in AppArmor Linux application security framework: Fix Released Status in apparmor package in Ubuntu: New Bug description: Currently, aa-logprof hangs indefinitely in Ubuntu 14.04 LTS. This is with kernel 3.13.0-39-generic, on x86_64. The version of apparmor installed is: apparmor 2.8.95~2430-0ubuntu5.1 apparmor-utils 2.8.95~2430-0ubuntu5.1 To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1445219/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp