Subject: Re: postinstall fixes failed: gid sendmail uid
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: current-users
Date: 11/19/2005 19:06:02
On Sat, Nov 19, 2005 at 06:49:48PM +0100, Manuel Bouyer wrote:
> On Sat, Nov 19, 2005 at 06:44:12PM +0100, Pavel Cahyna wrote:
> > > I think it's just "nobody implemented it yet". It's not that easy, because
> > > you need to be carefull to not use an exising uid.
> > 
> > Those uids are not fixed?
> 
> they're fixed in the provided master.passwd, but in case of upgrade,
> the user may already have added a user or a group with this uid/gid.
> 
> > What uids/gids were given to files owned by those
> > special users and groups when base.tgz was untarred?
> 
> I'm not sure tar hardcode uid/gid, I think it uses user/group names instead
> (but this is from memory and I didn't test, I may be wrong here).

Then, what happened when extracting the sets, if tar didn't find the name?

The INSTALL documents for 2.1 and 3.0 mention the creation of those
users and groups, but don't say that it should be done before.
(And the tool is called "postinstall" not "preinstall" after all.)

Thanks	Pavel Cahyna