From owner-freebsd-current Wed Dec 2 12:05:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28074 for freebsd-current-outgoing; Wed, 2 Dec 1998 12:05:13 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28068 for ; Wed, 2 Dec 1998 12:05:11 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id PAA06961; Wed, 2 Dec 1998 15:07:51 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 2 Dec 1998 15:07:51 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Matthew Dillon cc: John Birrell , "Jordan K. Hubbard" , current@FreeBSD.ORG Subject: Re: Uh oh... In-Reply-To: <199812021948.LAA18355@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 2 Dec 1998, Matthew Dillon wrote: > : > :Yes, however there is the "rule" of not touching the installed system > :until installworld. I think that mtree should read src/etc/master.passwd > :and src/etc/group to get the uid/gid values. This avoids the dependency > :of the hierarchy on awk etc as build tools. The new mtree version > :would need to be bootstrapped early like make is. The installworld step > :should do the ${DESTDIR}/etc update (also adding any missing .conf files > :too). > : > :-- > :John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > :CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > > This sounds like a clean solution. Better then my two-pass idea, anyway! How about this: make world - complain about which uids/gids are missing. make buildworld - nothing. make installworld - complain about which uids/gids are missing. I think being intrusive to someone's /etc directory is a mean thing to sneak in, as well have allowing someone to walk away for a long time only to have the build fail halfway through. It's a rude shock to experianced users and a major disapointment to new users just starting to track the tree. I also wish back when i was updating 2.2.god-knows-what to 2.2.6 this would have been in place instead of me bungling around running installworld over and over while it bombed out. Keeping the checks right at the start of the build keeps the upgrade/tracking easier to end users. # make world ----- error: you need to add user(s): bind to the system before this will work # pw useradd .... # make world ----- starting build... yes, it does make 'make world' more dependant on the system utils available, but you could 'test -x' or something to skip it then. thanks, -Alfred > > -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message