This command should create /var/cache/apparmor/.features, but it does not:
$ sudo apparmor_parser -r -W --cache-loc=/var/cache/apparmor /var/lib/apparmor/profiles/click_...
While we have '[parser patch] fix apparmor cache tempfile location to use passed arg' in Ubuntu's apparmor (0039-fix-parser-cache-loc.patch), it doesn't actually write .features in /var/cache/apparmor. It looks like this line was missed in that patch:
if (asprintf(&cache_features_path, "%s/cache/.features", basedir) == -1) {
This command should create /var/cache/ apparmor/ .features, but it does not: loc=/var/ cache/apparmor /var/lib/ apparmor/ profiles/ click_. ..
$ sudo apparmor_parser -r -W --cache-
While we have '[parser patch] fix apparmor cache tempfile location to use passed arg' in Ubuntu's apparmor (0039-fix- parser- cache-loc. patch), it doesn't actually write .features in /var/cache/ apparmor. It looks like this line was missed in that patch: &cache_ features_ path, "%s/cache/ .features" , basedir) == -1) {
if (asprintf(