Date: Wed, 17 Apr 2002 15:59:11 -0700 (PDT) From: Jim Mercer <jim@reptiles.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/37201: /usr/local/sbin dropped from PATH in /etc/rc Message-ID: <200204172259.g3HMxBX02345@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 37201 >Category: bin >Synopsis: /usr/local/sbin dropped from PATH in /etc/rc >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 17 16:00:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jim Mercer >Release: 4.5-STABLE circa 2002-04-17 >Organization: Reptilian Research >Environment: FreeBSD cvsup.egate.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Apr 17 12:35:28 EDT 2002 root@cvsup.egate.net:/usr/obj/usr/src/sys/EGATE-CVS i386 >Description: on/about 2002-04-15, /etc/rc was updated and the PATH was changed so that it no longer includes /usr/local/sbin. if this is a feature, please document it. this change will effect many scripts in /usr/local/etc/rc.d which ran based on the PATH set in /etc/rc >How-To-Repeat: look for a scipt in /usr/local/etc/rc.d which does not explicitly specify a path, or update $PATH, reboot, and they will not found, luckily evidenced with "dmesg -a" >Fix: revert the PATH in /etc/rc to the previous, which was PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin or, add a PATH= and export PATH statements to /etc/rc.conf >Release-Note: >Audit-Trail: >Unformatted: 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?200204172259.g3HMxBX02345>