Red Hat Bugzilla – Bug 480776
Group id for polkituser
Last modified: 2013-03-05 22:57:33 EST
Does polkituser need gid 87? and why is it reserved in /etc/group?
We are low on gids and need it for a system group.
according to bug #244950 only a gid was reserved
according to bug #244950 only a uid was reserved
If the gid reservation for polkituser is not necessary, there should be additional -g <some generic group> in the useradd command in post section of spec file. To fix already existing polkituser groups with gid 87, I suggest to check for that group in post section and to usermod polkituser for using <some generic group>, check for the files owned by polkituser group, chgrp them to <some generic group> and to remove that polkituser group. There are only three uidgid pairs left in uidgid file(and only three free gid's) - so it would be good to solve the issue somehow.
Yes, polkit is indeed using gid 87, please find another one for dialout. Not sure why bug #244950 doesn't mention the gid, but I remember mentioning it in out-of-band conversations e.g. IRC. Thanks.
are you sure, you need the group id?
(In reply to comment #4)
> Yes, polkit is indeed using gid 87, please find another one for dialout. Not
> sure why bug #244950 doesn't mention the gid, but I remember mentioning it in
> out-of-band conversations e.g. IRC. Thanks.
Although is very strange that only UID was explicitely reserved in setup uidgid file ( polkituser had - on the place of gid reservation and in bugzilla was just uid reservation mentioned) I guess polkituser group is already on many machines, so the easiest way is to reserve 87 gid for polkituser as well ... please adjust your useradd polkituser to have explicit -g 87 , thanks in advance.