From nobody@www.freebsd.org  Sat Jun 15 13:48:13 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id C182537B422
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 13:48:12 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5FKmChG087245
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 13:48:12 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5FKmCOb087244;
	Sat, 15 Jun 2002 13:48:12 -0700 (PDT)
Message-Id: <200206152048.g5FKmCOb087244@www.freebsd.org>
Date: Sat, 15 Jun 2002 13:48:12 -0700 (PDT)
From: Dirk-Willem van Gulik <dirkx@covalent.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kenv is in /usr/bin rather than in /bin - though it is used in /etc/rc.diskless1
X-Send-Pr-Version: www-1.0

>Number:         39345
>Category:       misc
>Synopsis:       kenv is in /usr/bin rather than in /bin - though it is used in /etc/rc.diskless1
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 13:50:08 PDT 2002
>Closed-Date:    Sat Jun 15 14:17:51 PDT 2002
>Last-Modified:  Sat Jun 15 14:17:51 PDT 2002
>Originator:     Dirk-Willem van Gulik
>Release:        5.0-CURRENT
>Organization:
sammawat
>Environment:
FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Sat May  4 01:04:42 CEST 2002     dirkx@foem.leiden.webweaving.org:/usr/src/sys/i386/compile/FOEM  i386
>Description:
/etc/rc.diskless1 uses the command 'kenv' to extract the hostname
out of the kernel kept DHCP settings (with a BOOTP kernel).

However kenv lives in /usr/bin rather than /(s)bin which has not been mounted at that point.

>How-To-Repeat:
Set up a diskless 5.0 and try to get it to work.
>Fix:
move kenv to another location whcih is mounted early
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jun 15 14:17:37 PDT 2002 
State-Changed-Why:  
Partial duplicate of 39346 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39345 
>Unformatted:
