🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3228

Bug#1152997: AppArmor profile blocks systemd-homed user resolution

#3228
From: Rein Ketelaars
Date: Wed, 04 Nov 2026 13:00
41 lines
4780 bytes
This is a multi-part message in MIME format.

--nextPartkRRAl2wtSX2vXGm5EsnTYw
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"

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
--nextPartkRRAl2wtSX2vXGm5EsnTYw
Content-Disposition: attachment; filename="0001-allow-machine-id.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="utf-8";
 name="0001-allow-machine-id.patch"

--- 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

--nextPartkRRAl2wtSX2vXGm5EsnTYw--
Technical Details
Message-ID: <NVIKR-9NFw-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NVFjX-9LXG-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Rein Ketelaars <rein@ktlrs.nl>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152997: AppArmor profile blocks systemd-homed user resolution
Date: Wed, 04 Nov 2026 14:00:01 +0100
Message-ID: <NVIKR-9NFw-5@gated-at.bofh.it>
References: <NVFjX-9LXG-1@gated-at.bofh.it>
X-Original-To: 1152997@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov  4 12:57:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Rein Ketelaars <rein@ktlrs.nl>, 1152997@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-printing@lists.debian.org
X-Debian-Pr-Message: followup 1152997
X-Debian-Pr-Package: cups-daemon
X-Debian-Pr-Keywords: newcomer
X-Debian-Pr-Source: cups
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="nextPartkRRAl2wtSX2vXGm5EsnTYw"
Content-Transfer-Encoding: 7Bit
X-Authuser: rein@ktlrs.nl
X-Authenticated-ID: rein@ktlrs.nl
X-Originating-IP: 2a11:4881:2631:110d:9c43:deff:6551:1
X-Broken-Header: X-mijn.host-Spamfilter-Domain: mijn.host
X-Broken-Header: X-mijn.host-Spamfilter-Username: 2a11:4881:2631:110d:9c43:deff:6551:1/112
Authentication-Results: mijn.host; auth=pass smtp.auth=2a11:4881:2631:110d:9c43:deff:6551:1/112@mijn.host
X-Broken-Header: X-mijn.host-Spamfilter-Outgoing-Class: ham
X-Broken-Header: X-mijn.host-Spamfilter-Outgoing-Evidence: Combined (0.02)
X-Recommended-Action: accept
X-Filter-ID: 9kzQTOBWQUFZTohSKvQbgI7ZDo5ubYELi59AwcWUnuWhw90O9OwxdSNZPDoGtwvirimMTG3RMLaV
 nc4VwjJPOyu2SmbhJN1U9FKs8X3+Nt3gh/EeADnWSoRZORK/apbsp1/GH8gINHBewhWpgzPbdoPp
 wQ0W3w9kGrqnIp8VZ9sk4Ndu06h2Q8QP5GQeNUYf+DoI5ero3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 12:54:27 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000603
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 41
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 04 Nov 2026 13:10:17 +0100
X-Original-Message-ID: <vML5zqB1SrSGOqFkAY5giw@ktlrs.nl>
X-Original-References: <179378378524.104639.7593596320620778968.reportbug@Lat5540.reinketelaars.net>
X-Original-X-Complaints-To: abuse@filter101.mijn.host