touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #45248
[Bug 1407437] Re: aa-enforce fails with ImportError: No module named rule.capability
Sorry, I was incorrect; this only affects trunk as the apparmor 2.9.x
branch does not contain the new rule/ subdirectory.
** Changed in: apparmor
Milestone: 2.9.2 => None
--
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
References