Bug#1100755: /etc/apparmor.d/usr.sbin.cupsd: cups-daemon: Apparmor profile blocks reading /etc/paperspecs
Package: cups-daemon
Version: 2.4.10-2+b1
Severity: important
File: /etc/apparmor.d/usr.sbin.cupsd
Hello,
It seems that cupsd is trying to read the /etc/paperspecs file, but
apparmor is denying it it.
type=AVC msg=audit(1742288722.540:440): apparmor="DENIED" operation="open" class="file" profile="/usr/sbin/cupsd" name="/etc/paperspecs" pid=11516 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0FSUID="root" OUID="root"
Please allow it in the profile
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.19-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cups-daemon depends on:
ii adduser 3.145
ii bc 1.07.1-4
ii init-system-helpers 1.68
ii libavahi-client3 0.8-16
ii libavahi-common3 0.8-16
ii libc6 2.41-6
ii libcups2t64 2.4.10-2+b1
ii libdbus-1-3 1.16.2-2
ii libgssapi-krb5-2 1.21.3-5
ii libpam0g 1.7.0-3
ii libpaper2 2.2.5-0.3+b1
ii libsystemd0 257.4-3
ii procps 2:4.0.4-7
ii ssl-cert 1.1.3
ii sysvinit-utils [lsb-base] 3.14-4
Versions of packages cups-daemon recommends:
ii avahi-daemon 0.8-16
ii colord 1.4.7-3
ii cups-browsed 1.28.17-6
ii ipp-usb 0.9.23-2+b4
Versions of packages cups-daemon suggests:
ii cups 2.4.10-2+b1
pn cups-bsd <none>
ii cups-client 2.4.10-2+b1
ii cups-common 2.4.10-2
ii cups-filters 1.28.17-6
pn cups-pdf <none>
ii cups-ppdc 2.4.10-2+b1
ii cups-server-common 2.4.10-2
pn foomatic-db-compressed-ppds | foomatic-db <none>
ii ghostscript 10.05.0~dfsg-1
ii poppler-utils 25.03.0-2
pn smbclient <none>
ii udev 257.4-3
-- no debconf information
Reply to: