Hi, I think all the issues wrt. sysusers in systemd and setup have been resolved.
On Tue, May 14, 2024 at 11:34:51AM +0000, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, May 14, 2024 at 02:01:09PM +0300, Panu Matilainen wrote: > > On 5/14/24 13:39, Zbigniew Jędrzejewski-Szmek wrote: > > > On Mon, May 13, 2024 at 01:37:11PM +0300, Panu Matilainen wrote: > > > > I outlined the migration process last year in > > > > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/NEFOV236FJYS2RED2SEOV5YHDFLDX7DK/#OYCWXKAMIXEZNYPVOM6VQ3YYXQ76M3DG > > > > but failed to follow-up, so I'm glad to see this getting revisited. > > > > > > I started looking into this, and I think we need to start at the > > > bottom, i.e. in the setup package. > > > > > > It currently provides /etc/{passwd,group} with a bunch of ids (23 groups) > > > and /usr/lib/sysusers.d/20-setup-{users,groups} with a bunch of entries, > > > but some of the groups listed in sysusers are not listed in the /etc > > > files. > > > IIUC, once we enable the rpm stuff, rpm will create /etc/{passwd,group} > > > automatically, and the file provided by setup will be ignored. > > > (It's specified as %config(noreplace).) I was confused here. setup generates its two sysusers files from the passwd/groups file that it distributes, so they will always match. We added the missing group defintions that systemd-udev relies on to default groups file distributed by setup (in setup-2.15.0-3). The next build of systemd (256~rc4-1) will drop its sysusers.d/basic.conf file. Please carry on with the enablement of rpm sysusers handling ;) Zbyszek P.S. While at it, Martin Osvald and I implemented a move of the content from the the "upstream" setup repo (https://pagure.io/setup/) into the dist-git repo (https://src.fedoraproject.org/rpms/pagure). The "upstream" was only used by a single "downstream", managed by the same people, and the separation was just generating busywork. setup >= 2.15 has all the content in dist-git. -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue