Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2002 14:04:42 -0700 (PDT)
From:      Dirk-Willem van Gulik <dirkx@covalent.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/39346: kenv is in /usr/bin rather than in /bin - though it is used in /etc/rc.diskless1
Message-ID:  <200206152104.g5FL4gRl087978@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39346
>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 14:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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 (and link staticallY).
>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?200206152104.g5FL4gRl087978>