← Back to team overview

touch-packages team mailing list archive

[Bug 1407437] [NEW] aa-enforce fails with ImportError: No module named rule.capability

 

Public bug reported:

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

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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 package in Ubuntu:
  New

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/ubuntu/+source/apparmor/+bug/1407437/+subscriptions


Follow ups

References