Hi,

I can confirm this issue has now reached Debian Testing (forky) as well,
following the migration of AppArmor 5.0.

On a physical machine running Debian Testing, cups.service triggers the
exact same AppArmor denial on startup:

audit: type=1400 audit(1796230996.422:2453): apparmor="DENIED" 
operation="sendmsg" class="file" profile="/usr/sbin/cupsd" 
name="/systemd/notify" pid=303340 comm="cupsd" requested_mask="w" 
denied_mask="w" fsuid=0 ouid=0

Adding "/systemd/notify w," to /etc/apparmor.d/local/usr.sbin.cupsd and
reloading the profile resolves the issue.

Package versions:
- cups-daemon: 2.4.20-3
- apparmor: 5.0.2-6
- systemd: 262.2-1

Thanks,
Bruno

Reply via email to