Bug 2192833
| Summary: | Speaking of passwd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Artem S. Tashkinov <aros> |
| Component: | setup | Assignee: | Martin Osvald 🛹 <mosvald> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | karsten, mosvald, ovasik, pavel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-23 11:00:51 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: | |||
|
Description
Artem S. Tashkinov
2023-05-03 08:49:43 UTC
May I have your attention please? You state you are not going to file a bug report against each individual package. But this is exactly how this can only be handled. This package just owns the basic passwd file, it is not responsible for the format - tools from shadow-utils or passwd utility write into that file. If you want to pursue that, individual bug report against specific components is imho the only way how to change it... I'm pretty sure all the applications/servers/services/daemons which update /etc/{passwd|group|shadow|grshadow} do so via some API.
I don't think it's going to be too difficult to change this API to make these files sorted.
Until recently all the packages created users/groups directly through the spec file. With sysusers.d introduction: https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format most of the packages on Fedora use sysusers.d file format: https://www.freedesktop.org/software/systemd/man/sysusers.d.html and let systemd create them. So if any sorting should be done, it should be done by systemd-sysusers and RFE should get filled against it. Regarding the other discrepancies (/sbin/nologin instead of /usr/sbin/nologin and GECOS field), individual bugs should get filled against the responsible packages, from the setup package point of view, there is nothing that can be done. Package maintainers should be aware about UsrMove/Usr merge and change it to /usr/sbin/nologin: https://fedoraproject.org/wiki/Features/UsrMove like it was done for setup: https://pagure.io/setup/c/e24038b10525d0037b5e359b541d59f769fa8ca9?branch=master I hope we answered all your queries. With all the above being said I am closing this as NOTABUG. |