Summary: | Some ebuilds do not create system groups correctly, instead they're created as normal groups. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesc Zacarias <ggarbhad> |
Component: | New packages | Assignee: | Gentoo Quality Assurance Team <qa> |
Status: | RESOLVED DUPLICATE | ||
Severity: | QA | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
elog for sys-apps/hal installation.
elog for net-misc/ntp. |
Description
Francesc Zacarias
2009-01-04 18:21:27 UTC
Created attachment 177373 [details]
elog for sys-apps/hal installation.
Created attachment 177374 [details]
elog for net-misc/ntp.
I've attached a couple of elogs. One for an incorrect system group creation (sys-apps/hal) and another for a good one (net-misc/ntp). QA: Please verify the validity of this bug report. If it's valid, then we should turn this into a tracker bug and open separate bug reports per package. ntp has the uid/gid hardcoded which is why you think it "worked". enewuser adds users between 100 and 1000, but enewgroup does not. (In reply to comment #5) > ntp has the uid/gid hardcoded which is why you think it "worked". enewuser > adds users between 100 and 1000, but enewgroup does not. > Then enewgroup default behaviour should be changed to create system groups by default, shouldn't it? Is there a reason for an ebuild to create normal user/group accounts? Specially when enewuser already creates system user accounts. Also, it's a problem that some ebuilds have the UID/GID hardcoded. Either ALL should be hardcoded or NONE. Mixing hardcoded and sequential can create "collisions". What if I install 124 services (with their respective sequential system accounts) and then I emerge ntp (which has GID 123 hardcoded)? Is there a reason for some uid/gid pairs to be hardcoded? i was only commenting on current enewgroup behavior. it probably should be changed as you suggest. as for your other comments, no, nothing is going to change today with how UIDs are managed. everything is being done with Bug 53269 (which more than covers everything you've said). (In reply to comment #7) > i was only commenting on current enewgroup behavior. it probably should be > changed as you suggest. > > as for your other comments, no, nothing is going to change today with how UIDs > are managed. everything is being done with Bug 53269 (which more than covers > everything you've said). > Thanks for pointing that interesting bug link. I may ask a few questions there. BTW, I've found this: http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/uidrange.html Notice that it says nothing on GIDs, but it's expected that the same rules apply. Or at least, that's how other linux distros do it. we dont particularly care about LSB. it's an indicator show how some other people might approach the issue, but we do not force anything in Gentoo to follow it in any way. Seems letting this discussion happen in bug #53269 is better *** This bug has been marked as a duplicate of bug 53269 *** |