Subject: kern/23614: MAKEDEV and MAKEDEV.local should add /rescue to $PATH
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 12/01/2003 23:14:18
>Number:         23614
>Category:       kern
>Synopsis:       MAKEDEV and MAKEDEV.local should add /rescue to $PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 01 23:15:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christian Biere
>Release:        NetBSD 1.6ZF
>Organization:
>Environment:
System: NetBSD cyclonus 1.6ZF NetBSD 1.6ZF (STARSCREAM) #0: Sun Nov 30 01:56:21 CET 2003 bin@cyclonus:/usr/build/obj/sys/arch/i386/compile/STARSCREAM i386
Architecture: i386
Machine: i386
>Description:

If MAKEDEV is run from init due to a missing /dev/console and /usr/sbin
is not on the root partition chown will not be found and you get dozens
or hundreds of "chown: not found" failure messages.

>How-To-Repeat:

make /usr (or at least /usr/sbin) a mount point
# rm /dev/console
# reboot

>Fix:

Add /rescue to PATH in MAKEDEV and MAKEDEV.local.
>Release-Note:
>Audit-Trail:
>Unformatted: