Page MenuHomeSolus

AppArmor Python tools/libraries are broken
Open, NormalPublic

Description

aa-genprof wants to run with python3 per the bang-line but an apparmor module for python2.7 is installed. Run with python2 it still does not work as the LibAppArmor library is missing.

Event Timeline

DataDrake edited projects, added Software; removed Plumbing.Aug 20 2017, 10:42 PM
DataDrake triaged this task as Normal priority.Mar 17 2018, 12:28 PM
DataDrake moved this task from Backlog to Package Fixes on the Software board.
DataDrake added a subscriber: As4fN1v.
Beer added a subscriber: Beer.Sep 8 2019, 5:53 AM
$ sudo aa-logprof 
Traceback (most recent call last):
  File "/usr/sbin/aa-logprof", line 18, in <module>
    import apparmor.aa as apparmor
ModuleNotFoundError: No module named 'apparmor'
$ sudo aa-enforce /etc/apparmor.d/local/usr.sbin.winbindd 
Traceback (most recent call last):
  File "/usr/sbin/aa-enforce", line 17, in <module>
    import apparmor.tools
ModuleNotFoundError: No module named 'apparmor'