Dear Maintainer,

I've prepared a proposed patch for this issue.

The patch adds read-only access to /etc/machine-id in the CUPS AppArmor 
profile.

I've verified that adding this rule resolves the NSS user lookup failure under 
the CUPS profile.

Patch attached.

Hope this helps.

Best regards,
Rein
--- a/debian/local/apparmor-profile
+++ debian/local/apparmor-profile	2026-11-04 11:53:23.043427886 +0100
@@ -71,6 +71,8 @@
   /etc/cups/interfaces/* ixrw,
   /etc/foomatic/* r,
   /etc/gai.conf r,
+  # allow access to /etc/machine-id <- #1152997
+  /etc/machine-id r,
   /etc/papersize r,
   # allow access to /etc/paperspecs <- #1096002 
   # provided by libpaper2

Reply via email to