From owner-freebsd-current Fri Sep 6 3:58:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5C537B400 for ; Fri, 6 Sep 2002 03:58:53 -0700 (PDT) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08EEC43E4A for ; Fri, 6 Sep 2002 03:58:52 -0700 (PDT) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g86Awjh15057; Fri, 6 Sep 2002 12:58:45 +0200 (MEST) Date: Fri, 6 Sep 2002 12:58:45 +0200 (CEST) From: Harti Brandt To: Mike Makonnen Cc: current@FreeBSD.ORG Subject: Re: rcNg messages In-Reply-To: <20020906034519.2b7e0d82.makonnen@pacbell.net> Message-ID: <20020906125803.X6320-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20020906125803.A6320@beagle.fokus.gmd.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 6 Sep 2002, Mike Makonnen wrote: MM>On Fri, 6 Sep 2002 12:14:05 +0200 (CEST) MM>Harti Brandt wrote: MM> MM>> It seems I found the problem. It turns out that rcNG is much more MM>> aggressive in not re-reading the rc_config_files if they were already red MM>> in. The problem with diskless boots is, that the first time, it tries to MM>> read the scripts (in rc itself), the rc.conf.local is not there. Later on MM>> (in initdiskless) it is copied to /etc, but the scripts remember that they MM>> already have sourced the config files and don't try it again. MM>> MM>> A workaround is to rename initdiskless to initdiskless.sh and to add the MM>> line MM> MM>Yes, this is a known issue. We have a couple of semi-decent work arounds. I've MM>attached an email from cvs-all that you can try. You apply it and hack MM>initdiskless to exit with code 2 to re-read the rc.conf files. Thanks. This fixes the problem. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message