[pkg-apparmor] Bug#982112: apparmor-profiles: aa-genprof error because of usr.lib.dovecot.script-login
Frederik Himpe
fhimpe at vub.ac.be
Sat Feb 6 16:03:23 GMT 2021
Package: apparmor-profiles
Version: 2.13.6-7
Severity: normal
aa-genprof on any executable fails with this error:
ERROR: Include file /etc/apparmor.d/local/usr.lib.dovecot.script-login not found
This is because of
#include <local/usr.lib.dovecot.script-login>
in the file /usr/share/apparmor/extra-profiles/usr.lib.dovecot.script-login
Commenting out this line (as is done by default in the other dovecot
scripts), fixes the problem.
It's basically the same as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928160 but this bug
was probably (re-)introduced in version 2.13.6-1 when the
usr.lib.dovecot.script-login profile was added.
-- System Information:
Debian Release: 10.8
APT prefers stable
APT policy: (800, 'stable'), (600, 'oldstable'), (500, 'oldoldstable'), (410, 'proposed-updates'), (300, 'testing'), (200, 'unstable'), (160, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-3-amd64 (SMP w/10 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apparmor-profiles depends on:
ii apparmor 2.13.6-7
apparmor-profiles recommends no packages.
apparmor-profiles suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/apparmor/extra-profiles/usr.lib.dovecot.script-login (from apparmor-profiles package)
More information about the pkg-apparmor-team
mailing list