Re: mergemaster mtree:No such file or directory
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 | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://people.freebsd.org/~cjc/| [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. it would more normal to this over-attenuated hacker to give commands explicit paths randy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
I agree vigorously with Randy's point. If people want to play games, they can edit mergemaster or, as with everything else, we should have it dot an optional /etc/mergemaster.conf file after setting its defaults. Would /usr/bin/make buildworld do funny things if PATH were odd? On Sun, Mar 24, 2002 at 03:48:45PM -0800, Randy Bush wrote: I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. it would more normal to this over-attenuated hacker to give commands explicit paths -- Barney Wolff I never met a computer I didn't like. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
On Sun, Mar 24, 2002 at 03:48:45PM -0800, Randy Bush wrote: I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. it would more normal to this over-attenuated hacker to give commands explicit paths Again, I think this is a bad idea. I see places one might want to take advangate of PATH. Example: You have a computer with two FreeBSD systems living on it. They are different versions. You totally bork one system and boot from the second system to repair the first. The mtree(8) files (or other tools) on the first system (the one being saved) are not compatible with the binaries on the running, recovery system. You can set the PATH as appropriate to run the binaries on the other system (in concert with -m and -D) and repair the messed up system despite incompatibilities. (Sure, you could still have compatibility problems, but this is one place you have the ability to configure it as you wish.) -- Crist J. Clark | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://people.freebsd.org/~cjc/| [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
On Sunday, March 24, 2002, at 06:48 , Randy Bush wrote: I think giving mergemaster(8) a PATH that includes all of the tools it needs to run is not a lot to ask. it would more normal to this over-attenuated hacker to give commands explicit paths Or at least have mergemaster extend PATH to include well-known directories if it couldn't find things in the current path that it needed. Joe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
Re: mergemaster mtree:No such file or directory
On Sun, 24 Mar 2002, Ryan Davis wrote: [...snip...] I've seen weird cases lately where the solution to some poor fool's port building problem is Take '.' out of your path. That's just NOT going to help us increase the usability of our favorite OS, is it? Having . in your PATH is a security risk. I don't have any problem making life difficult for people who have . in their PATH. -- Chris BeHanna Software Engineer (Remove bogus before responding.) [EMAIL PROTECTED] I was raised by a pack of wild corn dogs. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message