Fedora Account System
Red Hat Associate
Red Hat Customer
This bug was initially created as a copy of Bug #2095396 I am copying this bug because: It needs to get into Fedora first before implementing it in RHEL9. Description of problem: dhcp is using static useradd scripts Version-Release number of selected component (if applicable): dhcp-4.4.2-17.b1.el9 How reproducible: 100% Steps to Reproduce: 1. review %pre 2. 3. Actual results: %pre server # /usr/share/doc/setup/uidgid %global gid_uid 177 getent group dhcpd >/dev/null || groupadd --force --gid %{gid_uid} --system dhcpd if ! getent passwd dhcpd >/dev/null ; then if ! getent passwd %{gid_uid} >/dev/null ; then useradd --system --uid %{gid_uid} --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd else useradd --system --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd fi fi exit 0 Expected results: use of system-sysusers Additional info: https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
Commit: https://src.fedoraproject.org/rpms/dhcp/c/51194ddffd45451d309f2c0d90d9b842c99439ad?branch=rawhide
FEDORA-2022-b9f1cedaaf has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b9f1cedaaf
FEDORA-2022-b9f1cedaaf has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.