aa doesn't load profiles on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Ubuntu 10.10
After installing apparmor-profiles package and adding my own two profiles for skype and opera, my /etc/apparmord/ looks like this:abstractions
bin.ping
cache
disable
force-complain
home.wwwwww.
home.wwwwww.
local
program-chunks
sbin.dhclient3
sbin.klogd
sbin.syslogd
sbin.syslog-ng
tunables
usr.bin.
usr.bin.evince
usr.bin.firefox
usr.lib.
usr.lib.
usr.lib.
usr.lib.
usr.lib.
usr.lib.
usr.lib.
usr.sbin.
usr.sbin.cupsd
usr.sbin.dnsmasq
usr.sbin.dovecot
usr.sbin.identd
usr.sbin.mdnsd
usr.sbin.nmbd
usr.sbin.nscd
usr.sbin.smbd
usr.sbin.tcpdump
usr.sbin.traceroute
Yet upon startup, only 3 profiles get loaded, aa-status reports upon bootup:
3 profiles are loaded.
3 profiles are in enforce mode.
/sbin/dhclient3
/usr/
/usr/
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode :
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
And so I have to issue "/etc/init.
38 profiles are loaded.
38 profiles are in enforce mode.
/bin/ping
/home/
/home/
/sbin/dhclient3
/sbin/klogd
/sbin/syslog-ng
/sbin/syslogd
/usr/bin/evince
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/sbin/cupsd
/usr/
/usr/
/usr/sbin/identd
/usr/sbin/mdnsd
/usr/sbin/nmbd
/usr/sbin/nscd
/usr/sbin/smbd
/usr/
/usr/
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode :
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
So, why aren't the profiles loaded automatically on startup?
They should be loaded at startup, have you made any modifications to your startup?
Can you attach a copy of dmesg before you do init.d/ apparmor reload
/etc/
What are the contents of your /etc/apparmor/ directory (its config files for apparmor)