[apparmor] Cache update broken
Seth Arnold
seth.arnold at gmail.com
Sat Aug 4 17:23:28 UTC 2012
Sounds similar to the thread with Subject: [PATCH 10/11] Fix caching when used with a newer kernel with the feature directory
-----Original Message-----
From: Christian Boltz <apparmor at cboltz.de>
Sender: apparmor-bounces at lists.ubuntu.com
Date: Sat, 04 Aug 2012 15:53:50
To: <apparmor at lists.ubuntu.com>
Subject: [apparmor] Cache update broken
Hello,
I received a bugreport that loading AppArmor needs 25 seconds at boot:
https://bugzilla.novell.com/show_bug.cgi?id=774529
I can reproduce the problem on my system (AppArmor 2.8.0)
It looks like the cache is not updated, and (for obvious reasons) the
outdated cache isn't used.
# grep '^[^#]' /etc/apparmor/parser.conf
write-cache
show-cache
# apparmor_parser -r /etc/apparmor.d/usr.lib.dovecot.deliver
Cache read/write disabled: /sys/kernel/security/apparmor/features does
not match /etc/apparmor.d/cache/.features
Cache miss: /etc/apparmor.d/usr.lib.dovecot.deliver
Expected behaviour IMHO: update the cache and the .features file.
Any idea what is wrong? (A patch would be even better ;-)
Regards,
Christian Boltz
--
"Wirklich praxisnah wären Münzen zu EUR 0,99."
[Wolfgang Schwanke in de.etc.sprache.deutsch]
--
AppArmor mailing list
AppArmor at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
More information about the AppArmor
mailing list