[apparmor] parser fix: Warning failed to create cache on remove
John Johansen
john.johansen at canonical.com
Sun Nov 15 21:44:22 UTC 2015
On 11/15/2015 01:26 PM, John Johansen wrote:
> The parser is issuing
> "Warning failed to create cache"
>
> when profile removal fails. Make it so the parser doesn't warn about cache when removing profiles.
>
So the description here is wrong.
It issues the warning only when removal succeeds. But we should not be touching the cache on profile removal (and in fact aren't), but we still get the warning message based on write_cache being set to true.
More information about the AppArmor
mailing list