Hi Thorsten,

The profile already allows /run/systemd/notify, but the denial shows a
disconnected path, so that rule never matches:

apparmor="DENIED" operation="sendmsg" class="file"
profile="/usr/sbin/cupsd" name="/systemd/notify" pid=1302 comm="cupsd"
requested_mask="w" denied_mask="w" fsuid=0 ouid=0

With AppArmor 5.0 now in sid, cups.service times out after 90s on every
boot and restarts in a loop. Adding "/systemd/notify w," to
/etc/apparmor.d/local/usr.sbin.cupsd fixes it here. The avahi-daemon and
transmission profiles already have the same rule.

cups-daemon 2.4.20-3, apparmor 5.0.2-5.1, systemd 262.2-1

Thanks, Kel

Reply via email to