-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
rhel-virt-core
-
ssg_virtualization
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
Unspecified
-
None
-
57,005
Description of problem:
vhostmd has static useradd scripts
Version-Release number of selected component (if applicable):
vhostmd-1.1-11.el9
How reproducible:
100%
Steps to Reproduce:
1.review %pre
2.
3.
Actual results:
%pre
- UID:GID 112:112 reserved, see RHBZ#534109.
getent group vhostmd >/dev/null || groupadd -g 112 -r vhostmd
getent passwd vhostmd >/dev/null || \
useradd -u 112 -r -g vhostmd -d %{_datadir}/vhostmd -s /sbin/nologin \
-c "Virtual Host Metrics Daemon" vhostmd
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
- external trackers