From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 13 Feb 2025 14:40:47 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiZSS-001rnl-1X for lore@lore.pengutronix.de; Thu, 13 Feb 2025 14:40:47 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tiZSR-0001Fz-FW; Thu, 13 Feb 2025 14:40:47 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tiZSB-0001Fr-Sb for ptxdist@pengutronix.de; Thu, 13 Feb 2025 14:40:31 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiZSB-000lAf-2I for ptxdist@pengutronix.de; Thu, 13 Feb 2025 14:40:31 +0100 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tiZSB-00CsO7-20 for ptxdist@pengutronix.de; Thu, 13 Feb 2025 14:40:31 +0100 Date: Thu, 13 Feb 2025 14:40:31 +0100 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20250213134031.lhjj3xmds3wnr7fy@pengutronix.de> References: <20241110230121.1282197-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] [PATCH] avahi: use working defaults for user/group X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Fri, Nov 29, 2024 at 09:35:38AM +0100, Michael Olbrich wrote: > On Mon, Nov 11, 2024 at 12:01:22AM +0100, Roland Hieber wrote: > > As stated by the (slightly outdated) comments, no user or group named > > "avahi" or "avahi-autoipd" exists in the default /etc/passwd or > > /etc/group in PTXdist, so Avahi will complain about the missing > > user/group and refuse to start with the default configuration. Set the > > default values to the unprivileged "nobody"/"nogroup" instead, which > > already exist, and remove the outdated comments. > > Nack. These services have separate users for a reason. > > I understand that adding users is currently awkward. I've been thinking > about better ways to do this for some time. I'm open for ideas about that. Hmh yes, something like an install_* macro that is called in the targetinstall stage, and writes the to-be-created users into a file from where the rootfs package will pick it up later? - Roland -- Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |