From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 20 16:00:56 2004 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 0B74216A4CF for ; Wed, 20 Oct 2004 16:00:56 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6E2443D49 for ; Wed, 20 Oct 2004 16:00:55 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9KG0rRS074725 for ; Wed, 20 Oct 2004 16:00:53 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9KG0rq8074718; Wed, 20 Oct 2004 16:00:53 GMT (envelope-from gnats) Resent-Date: Wed, 20 Oct 2004 16:00:53 GMT Resent-Message-Id: <200410201600.i9KG0rq8074718@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 2DD8E16A4CE for ; Wed, 20 Oct 2004 15:50:46 +0000 (GMT) Received: from rz06.fh-karlsruhe.de (rz06.FH-Karlsruhe.DE [193.196.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0537D43D3F for ; Wed, 20 Oct 2004 15:50:45 +0000 (GMT) (envelope-from root@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.42) id 1CKIjX-000UKc-3U; Wed, 20 Oct 2004 17:50:39 +0200 Received: from root by localhost with local (Exim 4.42 (FreeBSD)) id 1CKIjW-0000Bd-Rs; Wed, 20 Oct 2004 17:50:38 +0200 Message-Id: Date: Wed, 20 Oct 2004 17:50:38 +0200 From: Ralf Wenk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Ralf Wenk Subject: conf/72927: Undefined variable used in /etc/rc.d/root 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: Wed, 20 Oct 2004 16:00:56 -0000 >Number: 72927 >Category: conf >Synopsis: Undefined variable used in /etc/rc.d/root >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 20 16:00:52 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ralf Wenk >Release: FreeBSD 5.3-STABLE i386 >Organization: FH Karlsruhe, University of Applied Sciences >Environment: System: FreeBSD 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Oct 18 13:23:44 CEST 2004 root@RZ-Wenk1:/usr/obj/usr/src/sys/fsc-t-diskless i386 >Description: The root_rw_mount variable which is evaluated in /etc/rc.d/root is, even in the case of a diskless boot, undefined. This causes a diskless boot with a read only root filesystem to fail. >How-To-Repeat: Try a diskless boot with readonly root filesystem or search for another occurence of root_rw_mount in the source other than /usr/src/etc/rc.d/root. >Fix: Until there is a better solution, like the detection of a read only root filesystem in "the right place", add root_rw_mount="YES" to /etc/rc.conf. >Release-Note: >Audit-Trail: >Unformatted: