Bug 2139755

Summary: [RFE] radvd use systemd-sysusers
Product: [Fedora] Fedora Reporter: Martin Osvald 🛹 <mosvald>
Component: radvdAssignee: Martin Osvald 🛹 <mosvald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, dominik, fedora, jaskalnik, mosvald, pavel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: radvd-2.19-7.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-03 12:44:38 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: 2095457    

Description Martin Osvald 🛹 2022-11-03 10:45:51 UTC
This bug was initially created as a copy of Bug #2095457

I am copying this bug because: 

It needs to get into Fedora first before implementing it in RHEL9.


Description of problem:
radvd uses static useradd scripts

Version-Release number of selected component (if applicable):
 	radvd-2.19-4.el9

How reproducible:
100%

Steps to Reproduce:
1.review %pre
2.
3.

Actual results:
# Static UID and GID defined by /usr/share/doc/setup-*/uidgid
%pre
getent group radvd >/dev/null || groupadd -r -g 75 radvd
getent passwd radvd >/dev/null || \
  useradd -r -u 75 -g radvd -d / -s /sbin/nologin -c "radvd user" radvd
exit 0

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 2 Fedora Update System 2022-11-03 12:43:50 UTC
FEDORA-2022-5e76da0ed5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5e76da0ed5

Comment 3 Fedora Update System 2022-11-03 12:44:38 UTC
FEDORA-2022-5e76da0ed5 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.