https://bugzilla.redhat.com/show_bug.cgi?id=2095426
Bug ID: 2095426 Summary: [RFE] jetty use systemd-sysusers Product: Fedora Version: 36 Status: NEW Component: jetty Assignee: mat.booth@gmail.com Reporter: riehecky@fnal.gov QA Contact: extras-qa@fedoraproject.org CC: eclipse-sig@lists.fedoraproject.org, java-sig-commits@lists.fedoraproject.org, jjohnstn@redhat.com, krzysztof.daniel@gmail.com, mat.booth@gmail.com, mizdebsk@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: jetty is using static user add scripts
Version-Release number of selected component (if applicable): jetty-9.4.38-2
How reproducible: 100%
Steps to Reproduce: 1.review %pre 2. 3.
Actual results: %pre # Add the "jetty" user and group getent group %username >/dev/null || groupadd -f -g %jtuid -r %username if ! getent passwd %username >/dev/null ; then if ! getent passwd %jtuid >/dev/null ; then useradd -r -u %jtuid -g %username -d %homedir -s /sbin/nologin \ -c "Jetty web server" %username else useradd -r -g %username -d %homedir -s /sbin/nologin \ -c "Jetty web server" %username fi fi 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
eclipse-sig@lists.fedoraproject.org