Date: Mon, 11 Mar 2002 03:30:02 -0800 (PST) From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/35770: Why there is no /usr/local/bin in PATH variable in /etc/rc? Message-ID: <200203111130.g2BBU2n52803@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/35770; it has been noted by GNATS.
From: "Crist J. Clark" <cjc@FreeBSD.ORG>
To: Ilshat Gubaidullin <gubaidullin@pc.tu-clausthal.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/35770: Why there is no /usr/local/bin in PATH variable in /etc/rc?
Date: Mon, 11 Mar 2002 03:20:22 -0800
On Mon, Mar 11, 2002 at 11:26:33AM +0100, Ilshat Gubaidullin wrote:
[snip]
> Why /usr/local/sbin is added and /usr/local/bin is not?
You're right. /usr/local/sbin should not be there. It was added in
revision 1.107 in 1996. The log indicates that it was added for
"things like GateD." It looks like it was added to support some broken
configuration options present in the rc-scripts at the time. It should
be removed.
For something like Samba, its rc script should contain the environment
it needs to start properly. /etc/rc cannot not be expected to properly
setup the environment for arbitrary third-party software.
--
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-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203111130.g2BBU2n52803>
