The issue is that the make install phase of apparmor 2.9.1 (and the bzr versions) are not installing the new utils/apparmor/rule/ subdirectory. I'm digging into what's wrong with the setuptools script now.
Closing for Ubuntu, as this version has not landed in any of the releases (including vivid) yet. ** Also affects: apparmor Importance: Undecided Status: New ** Changed in: apparmor (Ubuntu) Status: New => Confirmed ** Changed in: apparmor (Ubuntu) Status: Confirmed => New ** Changed in: apparmor Assignee: (unassigned) => Steve Beattie (sbeattie) ** Changed in: apparmor Importance: Undecided => High ** Changed in: apparmor Status: New => Triaged ** Changed in: apparmor Milestone: None => 2.9.2 ** Changed in: apparmor (Ubuntu) Status: New => Invalid -- 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/1407437 Title: aa-enforce fails with ImportError: No module named rule.capability Status in AppArmor Linux application security framework: Triaged Status in apparmor package in Ubuntu: Invalid Bug description: Downloaded from: deb http://ppa.launchpad.net/apparmor-dev/apparmor-daily-trunk/ubuntu trusty main Package version: 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 [0] (^_^) root@boxen /etc/apt>aa-enforce Traceback (most recent call last): File "/usr/sbin/aa-enforce", line 17, in <module> import apparmor.tools File "/usr/lib/python2.7/dist-packages/apparmor/tools.py", line 17, in <module> import apparmor.aa as apparmor File "/usr/lib/python2.7/dist-packages/apparmor/aa.py", line 55, in <module> from apparmor.rule.capability import CapabilityRuleset, CapabilityRule ImportError: No module named rule.capability [0] (^_^) root@boxen /etc/apt>uname -a Linux boxen 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [0] (^_^) root@boxen /etc/apt>cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS" [0] (^_^) root@boxen /etc/apt>dpkg -l | grep apparmor ii apparmor 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 User-space parser utility for AppArmor ii apparmor-easyprof 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 all AppArmor easyprof profiling tool ii apparmor-profiles 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 all Profiles for AppArmor Security policies ii apparmor-utils 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 Utilities for controlling AppArmor ii libapparmor-perl 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 AppArmor library Perl bindings ii libapparmor1:amd64 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 changehat AppArmor library ii python-apparmor 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 AppArmor Python utility library ii python-libapparmor 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 AppArmor library Python bindings ii python3-apparmor 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 AppArmor Python3 utility library ii python3-libapparmor 2.8.95.1ubuntu3+2844+24~ubuntu14.04.1 amd64 AppArmor library Python3 bindings To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1407437/+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