Menu

#38 CPU doesn't increment through large GID numbers properly

open
nobody
None
5
2009-09-03
2009-09-03
Anonymous
No

We have a weird GID setup....
Some system groups in the 0-1000 range.
Users primary groups in the 60-80000 range.
One off groups in the 9000000-910000.
I have no idea why it was setup like this.

Anyhow, if MAX_GIDNUMBER and MIN_GIDNUMBER are in any of those ranges, but the last one, with RANDOM set to false when doing a "cpu groupadd foo -w" it will find the first free GID and do its thing like it should.

However, if my cpu.conf looks like this
MAX_GIDNUMBER = 9100000
MIN_GIDNUMBER = 9000040
it will create groups with GIDs in the 10000 range.

Any thoughts on why it doesn't handle numbers this large?

Using 1.4.3 on Cent OS 5.3 btw.
Let me know if you need to know anything else.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB