From owner-freebsd-bugs Sat Jun 15 14:10:21 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 60A4637B431 for ; Sat, 15 Jun 2002 14:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5FLA1D75312; Sat, 15 Jun 2002 14:10:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 7A57F37B41A for ; Sat, 15 Jun 2002 14:04:42 -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 g5FL4ghG087979 for ; Sat, 15 Jun 2002 14:04:42 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5FL4gRl087978; Sat, 15 Jun 2002 14:04:42 -0700 (PDT) Message-Id: <200206152104.g5FL4gRl087978@www.freebsd.org> Date: Sat, 15 Jun 2002 14:04:42 -0700 (PDT) From: Dirk-Willem van Gulik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/39346: kenv is in /usr/bin rather than in /bin - though it is used in /etc/rc.diskless1 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: 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