Christian Boltz changed bug 980081
What Removed Added
Flags   needinfo?(liudas.alisauskas@gmail.com)

Comment # 2 on bug 980081 from
After some discussion with upstream and some testing, the most likely problem
is that the directory /var/cache/apparmor doesn't exist on your system.

Can you please check the symlink target? It should point to
/var/cache/apparmor:

# ls -l /etc/apparmor.d/cache
lrwxrwxrwx 1 root root 19 18. Apr 13:36 /etc/apparmor.d/cache ->
/var/cache/apparmor

Then check if /var/cache/apparmor exists:

# ls -ld /var/cache/apparmor/
drwxr-xr-x 1 root root 7472 18. Mai 21:04 /var/cache/apparmor/

If it doesn't exist, please re-create it. (It's part of the apparmor-parser
package, so maybe you accidently deleted it?)


BTW: The reason for the "Can't create cache directory" is the same as for a
failing "mkdir -p" on a broken symlink, and this is a wontfix for both mkdir
and AppArmor ;-)


You are receiving this mail because: