Bug 2100855

Summary: [RFE] glibc use systemd-sysusers
Product: [Fedora] Fedora Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, arjun, ashankar, bstinson, codonell, dj, fweimer, glibc-bugzilla, jwboyer, law, mcermak, mcoufal, mfabian, mnewsome, pfrankli, qe-baseos-tools-bugs, riehecky, rth, sipoyare, skolosov
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 2095417 Environment:
Last Closed: 2022-10-25 13:45:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2095417    
Bug Blocks:    

Description Carlos 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.html
https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

Comment 1 Carlos O'Donell 2022-10-25 13:45:47 UTC
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.