Bug 2100855 - [RFE] glibc use systemd-sysusers
Summary: [RFE] glibc use systemd-sysusers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2095417
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 13:28 UTC by Carlos O'Donell
Modified: 2022-10-25 13:45 UTC (History)
20 users (show)

Fixed In Version:
Clone Of: 2095417
Environment:
Last Closed: 2022-10-25 13:45:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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