-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
Unspecified
-
None
Description of problem:
nginx is using static useradd scripts
Version-Release number of selected component (if applicable):
nginx-1.20.1-10.el9
How reproducible:
100%
Steps to Reproduce:
1.review %pre
2.
3.
Actual results:
%pre filesystem
getent group %
getent passwd %
{nginx_user} > /dev/null || \useradd -r -d %{_localstatedir}/lib/nginx -g %{nginx_user}
\
-s /sbin/nologin -c "Nginx web server" %
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