Bug 2095474
| Summary: | [RFE] tang use systemd-sysusers | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Pat Riehecky <riehecky> |
| Component: | tang | Assignee: | Sergio Arroutbi <sarroutb> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Zelený <mzeleny> |
| Severity: | unspecified | Docs Contact: | Mirek Jahoda <mjahoda> |
| Priority: | low | ||
| Version: | CentOS Stream | CC: | bstinson, dapospis, jwboyer, mjahoda, mzeleny, sarroutb, scorreia |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tang-11-2.el9 | Doc Type: | Enhancement |
| Doc Text: |
.Tang now uses `systemd-sysusers`
The Tang network presence server now adds system users and groups through the `systemd-sysusers` service instead of shell scripts containing `useradd` commands. This simplifies checking of the system user list, and you can also override definitions of system users by providing `sysuser.d` files with higher priority.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:23:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (tang bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2163 |
Description of problem: tan has static useradd scripts Version-Release number of selected component (if applicable): tang-11-1.el9.src.rpm How reproducible: 100% Steps to Reproduce: 1.review %pre 2. 3. Actual results: %pre getent group %{name} >/dev/null || groupadd -r %{name} getent passwd %{name} >/dev/null || \ useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin \ -c "Tang Network Presence Daemon user" %{name} 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