From owner-freebsd-current Sat Feb 23 8:15:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id DDAB937B405; Sat, 23 Feb 2002 08:15:25 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020223161525.XWAS1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Sat, 23 Feb 2002 16:15:25 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1NGFO322843; Sat, 23 Feb 2002 08:15:24 -0800 (PST) (envelope-from cjc) Date: Sat, 23 Feb 2002 08:15:24 -0800 From: "Crist J. Clark" To: John Baldwin Cc: Dag-Erling Smorgrav , ggombert@imatowns.com, current@FreeBSD.ORG, David Wolfskill Subject: Re: Install World fails in -Current Message-ID: <20020223081524.K16048@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Fri, Feb 22, 2002 at 10:25:03PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 22, 2002 at 10:25:03PM -0500, John Baldwin wrote: > > On 23-Feb-02 Dag-Erling Smorgrav wrote: > > David Wolfskill 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