apparmor_parser on a force complained profile produces an incorrect warning message:
$ sudo apparmor_parser -rW /etc/apparmor.d/usr.sbin.sssd
Warning: found usr.sbin.sssd in /etc/apparmor.d/force-complain, forcing complain mode
Warning from /etc/apparmor.d/usr.sbin.sssd (/etc/apparmor.d/usr.sbin.sssd line 54): Warning failed to create cache: usr.sbin.sssd
Even though not generating the cache at all is expected, it should describe caching is disabled for force complained profiles instead of failure to create it.
apparmor_parser on a force complained profile produces an incorrect warning message:
$ sudo apparmor_parser -rW /etc/apparmor. d/usr.sbin. sssd d/force- complain, forcing complain mode d/usr.sbin. sssd (/etc/apparmor. d/usr.sbin. sssd line 54): Warning failed to create cache: usr.sbin.sssd
Warning: found usr.sbin.sssd in /etc/apparmor.
Warning from /etc/apparmor.
Even though not generating the cache at all is expected, it should describe caching is disabled for force complained profiles instead of failure to create it.
$ lsb_release -rd
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10
$ apt-cache policy apparmor 0ubuntu6 0ubuntu6 0ubuntu6 500 archive. ubuntu. com/ubuntu groovy/main amd64 Packages dpkg/status
apparmor:
Installed: 3.0.0~beta1-
Candidate: 3.0.0~beta1-
Version table:
*** 3.0.0~beta1-
500 http://
100 /var/lib/