/etc/apparmor.d/cache was chosen a long time ago (pre FHS 1.0) as the default cache locations, and at the time, given the constraints it was the best available location.
Upstream apparmor has moved to defaulting the location to /var/cache/apparmor. But Ubuntu has yet to make this move. AppArmor 2.13 also added support for cache overlays, so cache can reside in multiple locations (eg. pre compiled policy shipping as part of a RO image) and a writable overlayed cached location if local modifications are needed. To provide the best experience Ubuntu should probably move to an overlay of /var/cache/apparmor over /etc/apparmor.d/cache/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849554 Title: Please move cache files to a different location To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1849554/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs