Den tors. 13. feb. 2025 kl. 14.40 skrev Roland Hieber <[email protected]>: > > 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. | [email protected] | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | >
