From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 11 11:50:13 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0041916A4CE for ; Fri, 11 Feb 2005 11:50:13 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7FB043D46 for ; Fri, 11 Feb 2005 11:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1BBoCFg094941 for ; Fri, 11 Feb 2005 11:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1BBoCu9094940; Fri, 11 Feb 2005 11:50:12 GMT (envelope-from gnats) Resent-Date: Fri, 11 Feb 2005 11:50:12 GMT Resent-Message-Id: <200502111150.j1BBoCu9094940@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ralf Wenk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C15E716A4CE for ; Fri, 11 Feb 2005 11:48:51 +0000 (GMT) Received: from rz06.fh-karlsruhe.de (rz06.FH-Karlsruhe.DE [193.196.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9614243D49 for ; Fri, 11 Feb 2005 11:48:48 +0000 (GMT) (envelope-from wera0003@fh-karlsruhe.de) Received: from rz-tp600e.fh-karlsruhe.de ([193.196.65.252] helo=localhost) by rz06.fh-karlsruhe.de with esmtp (Exim 4.44) id 1CzZHz-000Bdw-6h; Fri, 11 Feb 2005 12:48:47 +0100 Received: from wera0003 by localhost with local (Exim 4.44 (FreeBSD)) id 1CzZHy-0000Bz-UN; Fri, 11 Feb 2005 12:48:46 +0100 Message-Id: Date: Fri, 11 Feb 2005 12:48:46 +0100 From: Ralf Wenk Sender: Ralf Wenk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Ralf Wenk Subject: conf/77384: /etc/rc.d/var uses commands from /usr/bin and /usr/sbin when /usr not yet mounted (diskless boot) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ralf Wenk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 11:50:13 -0000 >Number: 77384 >Category: conf >Synopsis: /etc/rc.d/var uses commands from /usr/bin and /usr/sbin when /usr not yet mounted (diskless boot) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 11 11:50:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ralf Wenk >Release: FreeBSD 5.3-STABLE i386 >Organization: FH Karlsruhe, University of Applied Sciences >Environment: System: FreeBSD RZ-Wenk1 5.3-STABLE FreeBSD 5.3-STABLE #2: Mon Feb 7 14:21:46 CET 2005 root@RZ-Wenk1:/usr/obj/usr/src/sys/fsc-t-diskless i386 >Description: When booting diskless the NFS filesystem for /usr is not mounted at the time /etc/rc.d/var is executed. So there is no /usr/sbin/mtree, /usr/sbin/newsyslog, /usr/bin/touch and /usr/bin/awk availiable. See also problem report 77340. >How-To-Repeat: Try a diskless boot and look at the output of the rc scripts. >Fix: As a workaround extend the root filesystem /usr directory with bin and sbin directories and copy the neccesary files (mtree, touch, newsyslog and awk (see pr 77340)) into them. >Release-Note: >Audit-Trail: >Unformatted: