[pkg-apparmor] Bug#1107533: apparmor: initscript should exit quietly when package not installed
Andrew Bower
andrew at bower.uk
Sun Jun 8 23:09:14 BST 2025
Control: tags -1 + patch
On Sun, Jun 08, 2025 at 10:37:58PM +0100, Andrew Bower wrote:
> I uninstalled apparmor and now get (ignorable) errors on boot:
>
> startpar: service(s) returned failure: apparmor ... failed!
>
> Debian policy 9.3.2 says that initscripts "should not fail obscurely when the
> configuration files remain but the package has been removed".
>
> Typical initscripts would check for the presence of a server executable. In
> this case I think we could just change how the lack of the shell functions is
> handled.
Patch to fix provided at:
https://salsa.debian.org/apparmor-team/apparmor/-/merge_requests/32
More information about the pkg-apparmor-team
mailing list