Incorrect warning from apparmor_parser on force complained profiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
John Johansen |
Bug Description
apparmor_parser on a force complained profile produces an incorrect warning message:
$ sudo apparmor_parser -rW /etc/apparmor.
Warning: found usr.sbin.sssd in /etc/apparmor.
Warning from /etc/apparmor.
Even though not generating the cache at all is expected, the warning 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
apparmor:
Installed: 3.0.0~beta1-
Candidate: 3.0.0~beta1-
Version table:
*** 3.0.0~beta1-
500 http://
100 /var/lib/
summary: |
- Incorrect warning from sudo apparmor_parser -rW - /etc/apparmor.d/usr.sbin.sssd + Incorrect warning from apparmor_parser -rW /etc/apparmor.d/usr.sbin.sssd |
description: | updated |
summary: |
- Incorrect warning from apparmor_parser -rW /etc/apparmor.d/usr.sbin.sssd + Incorrect warning from apparmor_parser on force complained profiles |
This is addressed by upstream https:/ /gitlab. com/apparmor/ apparmor/ -/merge_ requests/ 649