From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 13 Feb 2025 21:20:41 +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 1tifhR-001zBz-1f for lore@lore.pengutronix.de; Thu, 13 Feb 2025 21:20:41 +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 1tifhQ-0007Ms-Mu; Thu, 13 Feb 2025 21:20:40 +0100 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1tifhA-0007ML-9J for ptxdist@pengutronix.de; Thu, 13 Feb 2025 21:20:25 +0100 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-2addd5053c0so783966fac.1 for ; Thu, 13 Feb 2025 12:20:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739478022; x=1740082822; darn=pengutronix.de; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=YcXrdxirNvOwQ9MH/WGJs9j5++39RrTQu6W91APoHNE=; b=SfvysZ/23P2GlTogrjtN4VeaJKpktGYVFkuiJWTKUCuA4qMPpcnIf2LkR6V51KquOw Bx9MTVrmwmKKL3dTdJN+iNnEpnzxygbQv6HSbO6WcVfx2pgp/V2oS1r3cYdGND/OdLWR AkBFp8DkzRdkodyn2XnmlAVZ62ftYe3KNO6U8ssqF3jHmDMzP71r0fOEQr/25l9RAhwn JphrBdBZq2YmnG8B9RV4gj4DWu+zhM2oaJWLOVHwhAwLw5C+HRm9rqmVnaJeK1HLRF0l 1kbTVjSb75uAe9RUFRNVbtEJa6JD8GLK3A8kOV4xj1o3nDqpFYdwRDUUN8YPyqf8ODu9 xNPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739478022; x=1740082822; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YcXrdxirNvOwQ9MH/WGJs9j5++39RrTQu6W91APoHNE=; b=SenrBKrCS6WRecl2cQ6+WXAcKSp8+bKlO6eAZbYbCdV/Vo4s0BMtoCLRKSEH3WYGgb iH9E3Hf8S/lQjJPMPu9Bglkmyqnrs+5o/Kc+BiECl5AvIHYerRjrYpQCt3+Zh1Yr+Bwn yUk1uOSU7RICSDs8UYpjN1srRBdJAZRAaHGHl9NA8X6Dfg2mG/TXZTUcCnEzOTd3qgGv UhkB2xmP2C800NPQ1hJ8UN9sQe6LUMniYU4ttWBjxG228Acp5XI5l/3kxGlIMr/1jCdc 2PNBkQh9DgaO/wiFAWHpbcxHNw7TYkeRqrU1dLuGkdRelB5E8okVBUCgG0fuM4PDF9s5 BSMA== X-Gm-Message-State: AOJu0YyQukKDF1HiVJvi17TaWerJ8wr+XiqqCdw3E9nYzwnmKIeX6SvS L6TeU++g+9JvVVTLrRjLgaXx1SQWEZcN0wvq9W6p6oDEiHX8xmIT/S+Qzo8bspihi958t7nFO1l SZMP7Nr8ABaHbZM2avBGk+0ERHQKzWUB+ X-Gm-Gg: ASbGncuygCAQoAP+JC471kKInxOrFdK4PYQEVayUWgpc/AWJNBy9NaG6HP9NTFXd5Qf 0TOlYRoSwApzm+vti6898wlvIPk1P6GcBNmBCS2Z2cikki/m5Aoe5vr+nUzW8xgRNvOjvcmbp X-Google-Smtp-Source: AGHT+IE9IK5x3EMG19eUfkLiftaFRcMoO3G5HvMJ4K0nqNebSrpuGpvZiqZhFn+zIwYiXLl83XbKpBAm6EGGI0qmu8w= X-Received: by 2002:a05:6870:1d3:b0:2a3:832e:5492 with SMTP id 586e51a60fabf-2b8daeffdc8mr4841436fac.25.1739478021761; Thu, 13 Feb 2025 12:20:21 -0800 (PST) MIME-Version: 1.0 References: <20241110230121.1282197-1-rhi@pengutronix.de> <20250213134031.lhjj3xmds3wnr7fy@pengutronix.de> In-Reply-To: <20250213134031.lhjj3xmds3wnr7fy@pengutronix.de> From: Bruno Thomsen Date: Thu, 13 Feb 2025 21:20:05 +0100 X-Gm-Features: AWEUYZkxm1exUQM559Wia8yuIxEZs0kUbowrihSYQYuc4WgPbNaNa0yFgxbuQK4 Message-ID: To: ptxdist@pengutronix.de Content-Type: text/plain; charset="UTF-8" X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 Den tors. 13. feb. 2025 kl. 14.40 skrev Roland Hieber : > > 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. I know Fedora is looking at solving this issue [1] with systemd sysusers.d [2] but that is ofcourse not possible in non-systemd builds. /Bruno [1] https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers [2] https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html > 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 | >