when a profile is being forced to complain a variation of the following message is displayed
Warning from /etc/apparmor.d/usr.sbin.sssd (/etc/apparmor.d/usr.sbin.sssd line 54): Warning failed to create cache: usr.sbin.sssd
This is incorrect in that the parser doesn't even try to create the cache, it just can't cache force complain profiles.
Output a warning message for this case that is correct. Fixes: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1899218
Signed-off-by: John Johansen john.johansen@canonical.com