Bug 2095417

Summary: [RFE] glibc use systemd-sysusers
Product: Red Hat Enterprise Linux 9 Reporter: Pat Riehecky <riehecky>
Component: glibcAssignee: DJ Delorie <dj>
Status: CLOSED ERRATA QA Contact: Sergey Kolosov <skolosov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: ashankar, bstinson, codonell, dj, fweimer, jwboyer, markobri, mcermak, pfrankli, sipoyare, skolosov
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.34-68.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2100855 (view as bug list) Environment:
Last Closed: 2023-11-07 08:37: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:    
Bug Blocks: 2100855    

Description Pat Riehecky 2022-06-09 17:13:13 UTC
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 7 Carlos O'Donell 2023-05-11 17:30:50 UTC
Reviewed and merged DJ's changes into c9s. Final build in progress.

Comment 12 errata-xmlrpc 2023-11-07 08:37:47 UTC
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 (glibc bug fix 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/RHBA-2023:6582