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
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: dhcp security and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:2502