DescriptionCarlos O'Donell
2022-06-24 13:28:17 UTC
+++ This bug was initially created as a clone of Bug #2095417 +++
Description of problem:
glibc is using static useradd scripts
Version-Release number of selected component (if applicable):
nscd-2.34-37.el9
How reproducible:100%
Steps to Reproduce:
1.review %pre
2.
3.
Actual results:
%pre -n nscd
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
getent passwd nscd >/dev/null ||
/usr/sbin/useradd -M -o -r -d / -s /sbin/nologin \
-c "NSCD Daemon" -u 28 -g nscd nscd
Expected results:
use of system-sysusers
Additional info:
https://www.freedesktop.org/software/systemd/man/systemd-sysusers.htmlhttps://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
I'm marking this CLOSED CURRENTRELEASE since this is fixed in Fedora 36, 37 and Rawhide.
It is fixed because we no longer ship nscd in Rawhide and instead rely on systemd and sssd to provide system-wide caching for service information.
Given that we no longer create a user on the system the RFE is no longer applicable.