Bug 2095741 - [RFE] freeradius use systemd-sysusers
Summary: [RFE] freeradius use systemd-sysusers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: freeradius
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio Torres
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2095403
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-10 12:06 UTC by Antonio Torres
Modified: 2022-06-24 12:47 UTC (History)
9 users (show)

Fixed In Version:
Clone Of: 2095403
Environment:
Last Closed: 2022-06-24 12:47:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8352 0 None None None 2022-06-10 12:33:46 UTC

Description Antonio Torres 2022-06-10 12:06:28 UTC
+++ This bug was initially created as a clone of Bug #2095403 +++

Description of problem:
freeradius is using static useradd scripts

Version-Release number of selected component (if applicable):
freeradius-3.0.21-32.el9

How reproducible:
100%

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

Actual results:
# Make sure our user/group is present prior to any package or subpackage installation
%pre
getent group  radiusd >/dev/null || /usr/sbin/groupadd -r -g 95 radiusd > /dev/null 2>&1
getent passwd radiusd >/dev/null || /usr/sbin/useradd  -r -g radiusd -u 95 -c "radiusd user" -d %{_localstatedir}/lib/radiusd -s /sbin/nologin radiusd > /dev/null 2>&1
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

--- Additional comment from RHEL Program Management on 2022-06-09 17:07:02 UTC ---

The keyword FutureFeature has been added. If this bug is not a FutureFeature, please remove from the Summary field any strings containing "RFE, rfe, FutureFeature, FEAT, Feat, feat".

--- Additional comment from Antonio Torres on 2022-06-10 09:28:55 UTC ---

Example: https://src.fedoraproject.org/rpms/munge/pull-request/1#request_diff

Comment 1 Antonio Torres 2022-06-24 12:47:41 UTC
Fixed in Rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3975b379b2


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