| Summary: | gkrellm-daemon creates a system group without a reserved system UID/GID | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Exile In Paradise <redhat> |
| Component: | gkrellm | Assignee: | Hans de Goede <hdegoede> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | berrange, clalancette, crobinso, dougsland, hdegoede, itamar, jforbes, laine, libvirt-maint, veillard, ville.skytta, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-13 14:30:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Exile In Paradise
2012-02-13 12:07:34 UTC
The UID 107 is reserved for QEMU / libvirt to use, so gkrellm should never have been using it. The problem here is the gkrellm-daemon RPM, which is creating a system group without a reserved UID. This causes it to hijack one of the UIDs reserved for other packages, in your case it happened to hijack libvirt's UIDs, but it could just as easily have hijacked other packages' UID allocations. $ rpm -q --scripts gkrellm-daemon preinstall scriptlet (using /bin/sh): getent group gkrellmd >/dev/null || groupadd -r gkrellmd getent passwd gkrellmd >/dev/null || \ useradd -r -g gkrellmd -M -d / -s /sbin/nologin -c "GNU Krell daemon" gkrellmd Two things are required * gkrellm-daemon needs to ask for a fixed UID:GID pair, by filing a BZ against the 'setup' package in Fedora * Once allocated in the setup package,the gkrellm-daemon %post script should be modified to use the allocated UID:GID pair. Given that 1) gkrellmd does not need a fixed uid for anything, 2) useradd assigns dynamic system uids starting from 1000 downwards nowadays minimizing chances for conflicts in the ~100 something range, 3) I personally believe that reserved/fixed uids/gids in packages are pretty much a broken concept, and 4) it'd make some sense only if done in every single package in Fedora that creates users/groups, as far as I'm concerned, this is a clear wontfix. Will leave open for gkrellm primary maintainer comments though. This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |