Package Details: apparmor-utils 2.10.1-1

Git Clone URL: (read-only)
Package Base: apparmor
Description: AppArmor userspace utilities
Upstream URL:
Licenses: GPL
Submitter: Harvie
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 84
Popularity: 2.117389
First Submitted: 2010-10-28 14:55
Last Updated: 2016-06-21 14:33

Latest Comments

peetaur commented on 2016-06-25 07:16

Either this:
sudo ln -s LibAppArmor/ /lib/python3.5/site-packages

or this:
sudo mv /lib/python3.5/site-packages/LibAppArmor/ /lib/python3.5/site-packages

seems to fix the error
ImportError: No module named '_LibAppArmor'

@MarcinWieczorek shouldn't this so file be in site-packages then, not site-packages/LibAppArmor?

kyleh commented on 2016-06-23 20:04

After the last update I can't run several scripts (like aa-genprof aa-complain aa-enforce) unless I manually set the PYTHON and PYTHONPATH variables to python3.5 paths. Otherwise I get an importerror:

adventurer commented on 2016-04-13 17:13

@teekay: Thanks! I just disowned it.

teekay commented on 2016-04-13 16:45

@adventurer: i'm innocent. No idea how that happened. Just hit the disown button.

adventurer commented on 2016-04-13 15:52

What? I asked to be removed as co-maintainer as I don't use Arch any more - but now I'm registered as the maintainer of this package! What's all this good for?

teekay commented on 2016-04-12 16:38

Please someone take over that package. I'm not running an Arch server with need for AppArmor anymore, so can't really test.

Version 2.11 will be out soon.

adventurer commented on 2015-10-07 16:06

@teekay: Please remove me as co-maintainer. I'm sorry but I moved to another distro. "The times they are a-changin'" (Bob Dylan)

ddreamer commented on 2015-08-20 16:31

Finally, I have worked it out though a bug with rEfInd made me in trouble for days.

adventurer commented on 2015-08-12 18:06

@ddreamer: You compiled your own AppArmor-enabled kernel with those options mentioned in the wiki, didn't you? If not, installing apparmor is useless.

ddreamer commented on 2015-08-12 15:42


I just installed the latest apparmor from this AUR and activated the kernel module by "apparmor=1 security=apparmor" (as instructed in

However, it failed.

<<My 5 tests>>
1. cat /sys/module/apparmor/parameters/enabled
File not found

2. systemctl status apparmor.service
apparmor.service - AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 三 2015-08-12 23:01:42 CST; 16min ago
Process: 1900 ExecStart=/usr/bin/ (code=exited, status=1/FAILURE)
Main PID: 1900 (code=exited, status=1/FAILURE)
8月 12 23:01:41 ddreamer.X555LD systemd[1]: Starting AppArmor profiles...
8月 12 23:01:42 ddreamer.X555LD systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
8月 12 23:01:42 ddreamer.X555LD systemd[1]: Failed to start AppArmor profiles.
8月 12 23:01:42 ddreamer.X555LD systemd[1]: apparmor.service: Unit entered failed state.
8月 12 23:01:42 ddreamer.X555LD systemd[1]: apparmor.service: Failed with result 'exit-code'.

3. dmesg
[ 5.627096] systemd[1]: apparmor.service: Unit entered failed state.
[ 5.640443] systemd[1]: apparmor.service: Failed with result 'exit-code'.

4. sudo aa-status
apparmor module is not loaded.

5. sudo /usr/bin/apparmor_parser -r $(find /etc/apparmor.d/ -maxdepth 1 -type f)
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
???/proc/mounts ??????? fs,??????
??? --subdomainfs ???

Somebody helps me ?

All comments