Saturday, February 8, 2025

mass package change to introduce sysusers.d configs

In accordance with https://docs.fedoraproject.org/en-US/fesco/Mass_package_changes/,
I'll be doing a "mass package change" to add sysusers.d config files
for all packages which currently call 'useradd' and 'groupadd' and
drop the calls to getent/id/useradd/groupadd/usermod/gpasswd.

Over the next few days I'll start opening pull requests in dist-git
for this with "Add sysusers.d config file" (or similar) in the title.

If you receive such a pull request, and you don't want to merge it in
the proposed form, please close the pull request and apply some
different solution. Feel free to reuse parts or even all of the
proposed patch.

This is part of https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
rpm in F42+ will autocreate users and groups for all packages that
contain a sysusers.d config file.

The changes can be previewed at:
https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec_change_v4.diff.html
https://in.waw.pl/~zbyszek/fedora/sysusers_mass_spec_change_v4.diff.txt

Zbyszek

P.S.

First five pull requests to test the flow:
https://src.fedoraproject.org/rpms/abrt/pull-request/45
https://src.fedoraproject.org/rpms/avahi/pull-request/18
https://src.fedoraproject.org/rpms/bind9-next/pull-request/11
https://src.fedoraproject.org/rpms/bsd-games/pull-request/1
https://src.fedoraproject.org/rpms/bzflag/pull-request/1
--
_______________________________________________
devel-announce mailing list -- devel-announce@lists.fedoraproject.org
To unsubscribe send an email to devel-announce-leave@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-announce@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

No comments:

Post a Comment