Date: Wed, 2 Dec 1998 15:07:51 -0500 (EST) From: Alfred Perlstein <bright@hotjobs.com> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: John Birrell <jb@cimlogic.com.au>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, current@FreeBSD.ORG Subject: Re: Uh oh... Message-ID: <Pine.BSF.4.05.9812021500160.3925-100000@bright.fx.genx.net> In-Reply-To: <199812021948.LAA18355@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812021500160.3925-100000>