Starting user UIDs at 1000 - please check your packages

Simo Sorce simo at redhat.com
Thu Jul 21 21:02:11 UTC 2011


On Thu, 2011-07-21 at 13:59 -0400, seth vidal wrote:
> On Thu, 2011-07-21 at 12:57 -0400, James Antill wrote:
> > On Wed, 2011-07-20 at 22:59 +0200, Miloslav Trmač wrote:
> > > On Wed, Jul 20, 2011 at 10:55 PM, James Antill <james at fedoraproject.org> wrote:
> > > >  Is it really necessary to change this in %pre ... can't you just copy
> > > > your old login.defs file over the installed one during kickstart %post
> > > > (or even do it by hand, post install)?
> > > 
> > > Unfortunately it is necessary to do it in %pre because users and
> > > groups created in package scriptlets without specifiying an UID/GID
> > > explicitly get assigned 999, 998, ... .
> > 
> >  Doing it this way means it is guaranteed 100% incompatible between
> > versions, NFS etc. will be a giant pain for a lot of users. Would it not
> > be possible to change the behaviour to be more compatible (Eg. assign
> > the first 99 from 499-400, and then move to 999)?
> >  It seems like a big price to pay to go from "you may be affected" to
> > "we guarantee we've it".

Sometimes you have to break some eggs, that said I would favor changing
the behavior to grow from 400 up to 999 instead of grown down from 999
to 400, sounds more sensible.

> I agree. We KNOW that this will impact a number of users - many of them
> in a position to have to support older machines and newer machines and
> will be wedged with some awful solutions for a while.
> 
> If we can't go to 999 how about we go way up to the 2million+ range?

That would be *much* worse.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York



More information about the devel mailing list