From owner-freebsd-bugs Wed Apr 17 16: 0:30 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3E0237B41E for ; Wed, 17 Apr 2002 16:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3HN06R02492; Wed, 17 Apr 2002 16:00:06 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B21A137B423 for ; Wed, 17 Apr 2002 15:59:11 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3HMxBX02345; Wed, 17 Apr 2002 15:59:11 -0700 (PDT) (envelope-from nobody) Message-Id: <200204172259.g3HMxBX02345@freefall.freebsd.org> Date: Wed, 17 Apr 2002 15:59:11 -0700 (PDT) From: Jim Mercer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/37201: /usr/local/sbin dropped from PATH in /etc/rc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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