Date: Sat, 23 Feb 2002 08:15:24 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Dag-Erling Smorgrav <des@ofug.org>, ggombert@imatowns.com, current@FreeBSD.ORG, David Wolfskill <david@catwhisker.org> Subject: Re: Install World fails in -Current Message-ID: <20020223081524.K16048@blossom.cjclark.org> In-Reply-To: <XFMail.020222222503.jhb@FreeBSD.org>; from jhb@FreeBSD.ORG on Fri, Feb 22, 2002 at 10:25:03PM -0500 References: <xzpeljdq8mx.fsf@flood.ping.uio.no> <XFMail.020222222503.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 22, 2002 at 10:25:03PM -0500, John Baldwin wrote:
>
> On 23-Feb-02 Dag-Erling Smorgrav wrote:
> > David Wolfskill <david@catwhisker.org> writes:
> >> Sounds like a botched (or not run) "mergemaster" execution:
> >
> > No - mergemaster will croak because it runs mtree to build its temp
> > directory, so if you're trying to update a pre-smmsp system you have
> > to add the smmsp user and group manually.
>
> I think this is a bug but can't think of a clean way to work around it.
I can think of a two "clean" ways... but it ain't pretty.
1) Do not enter users in the BSD.*.dist files by 'uname,' but only
by 'uid.' But this makes the files more difficult to maintain and
generally icky.
2) Keep 'uname's in BSD.*.dist files, but use the distributed
src/etc/master.passwd to process the BSD.*.dist files into a
format with 'uid's on the fly during buildworld-installworld.
These versions would only be built during buildworld and only
used by the mtree(8) commands during installworld. The source
BSD.*.dist files would be the ones actually installed of course.
Obviously, one could do the same with groups.
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ | cjc@freebsd.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020223081524.K16048>
