Bug 2095417 - [RFE] glibc use systemd-sysusers
Summary: [RFE] glibc use systemd-sysusers
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: glibc
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: DJ Delorie
QA Contact: Sergey Kolosov
URL:
Whiteboard:
Depends On:
Blocks: 2100855
TreeView+ depends on / blocked
 
Reported: 2022-06-09 17:13 UTC by Pat Riehecky
Modified: 2023-07-09 12:57 UTC (History)
11 users (show)

Fixed In Version: glibc-2.34-68.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2100855 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124854 0 None None None 2022-06-09 17:21:52 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.