[pkg-apparmor] Bug#1107533: apparmor: initscript should exit quietly when package not installed
Andrew Bower
andrew at bower.uk
Sun Jun 8 22:37:58 BST 2025
Package: apparmor
Version: 4.1.0-1
Severity: minor
Dear Maintainer,
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.
Thanks,
Andrew
-- System Information:
Debian Release: 13.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Foreign Architectures: amd64
Kernel: Linux 6.10.12-686 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages apparmor depends on:
ii debconf [debconf-2.0] 1.5.91
ii libc6 2.41-7
apparmor recommends no packages.
Versions of packages apparmor suggests:
pn apparmor-profiles-extra <none>
pn apparmor-utils <none>
More information about the pkg-apparmor-team
mailing list