Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134519 - net-print/cups-1.2.1 lpadmin gid are in "normal user" range
Summary: net-print/cups-1.2.1 lpadmin gid are in "normal user" range
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 06:10 UTC by Nils Marving
Modified: 2006-06-05 15:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Marving 2006-05-27 06:10:39 UTC
The lpadmin group created by the ebuild is in the range of normal
users; in my case gid=1013. This will mess up filtering based on numeric gids as used by many programs and scripts. Apparently the lpadmin gid is 106 on an ubuntu, so something similar should be chosen.

I haven't been able to find an authoritative list of common system gids for Gentoo either.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-01 11:35:22 UTC
In gentoo we assign gid's dynamically. Normal users do not have groups, what do you mean?
Comment 2 Nils Marving 2006-06-01 13:58:03 UTC
Right, I see some info missing: dynamically assigned gid's are *really* impractical in a mixed environment, since a lot of other distros use private groups (basically gid=uid for all normal users). That way things are messed up for cases using gid ranges. 

I haven't found any docs on how this solution was decided, if it ever was thought through. Any pointers?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-01 14:24:26 UTC
What should I do with this bug now?
I wonder how you were able to get such a high number.

These are the IDs on both of my systems:
# grep lpad /etc/group
lpadmin:x:446:
# grep lpad /etc/group
lpadmin:x:455:

For documentation - no idea, but you can try to bring it up on the gentoo-dev.list
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 15:17:14 UTC
I have made 106 the default, cannot see any problem with that.