From owner-freebsd-stable Sun Mar 24 15:45:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 61C2237B400 for ; Sun, 24 Mar 2002 15:45:46 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020324234546.OXWL1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Sun, 24 Mar 2002 23:45:46 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2ONjgf82888; Sun, 24 Mar 2002 15:45:42 -0800 (PST) (envelope-from cjc) Date: Sun, 24 Mar 2002 15:45:42 -0800 From: "Crist J. Clark" To: Ryan Davis Cc: Randy Bush , Dima Dorfman , FreeBSD Stable Subject: Re: mergemaster mtree:No such file or directory Message-ID: <20020324154542.B82432@blossom.cjclark.org> References: <6E639CB8-3F7E-11D6-B638-0030655293B0@zenspider.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <6E639CB8-3F7E-11D6-B638-0030655293B0@zenspider.com>; from ryand-bsd@zenspider.com on Sun, Mar 24, 2002 at 03:25:30PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 24, 2002 at 03:25:30PM -0800, Ryan Davis wrote: > > On Sunday, March 24, 2002, at 10:45 AM, Randy Bush wrote: > > >>> mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/ > >>> mtree:No such file or directory > >> Looks like /usr/sbin isn't in your PATH. > > > > something changed in bash 5 on this and only this host. it wanted > > 'export' before 'PATH=' in /etc/profile. > > > > thanks for the help > > Maybe a naive question, but: > > Shouldn't the build system (including mergemaster) be impervious to > side-effects from things like PATH? I could easily envision situations where one might want to play games with one's PATH when using mergemaster(8). I think having mergemaster(8) toss aside the user's PATH and essentially hardcode its own makes the tool much less flexible, violates POLA, and generally violates the whole purpose of PATH and environmental variables. I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. -- 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-stable" in the body of the message