-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
rhel-sst-rh-samba-storage
-
ssg_rh_storage
-
None
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
Unspecified
-
None
Description of problem:
ceph is using static useradd scripts
Version-Release number of selected component (if applicable):
ceph-16.2.4-5.el9.src.rpm
How reproducible:
100%
Steps to Reproduce:
1.review %pre scripts
2.
3.
Actual results:
%pre common
CEPH_GROUP_ID=167
CEPH_USER_ID=167
%if 0%{?rhel} || 0%{?fedora}
/usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
/usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
%endif
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
- external trackers