Skip to content

Drop 'localinclude' in parse_profile_data() and ProfileStorage

'localinclude' is/was meant to have 'local/*' includes separate, but it's write-only and never used, which makes it useless.

Additionally, it causes a crash in the aa-* tools which gets fixed by removing all the 'localinclude'-related code (what a big word for two lines ;-)

References: https://bugs.launchpad.net/apparmor/+bug/1848227

I propose this patch for 2.12..master. The 2.11 code is slightly different (we'd only have to drop one line there) - if someone thinks we should fix this for 2.11, I'll do a separate MR.

Merge request reports