From owner-cvs-all@FreeBSD.ORG Fri Oct 12 18:45:57 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9209216A46B for ; Fri, 12 Oct 2007 18:45:57 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id CCE8713C455 for ; Fri, 12 Oct 2007 18:45:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 29468 invoked by uid 399); 12 Oct 2007 18:45:55 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 12 Oct 2007 18:45:55 -0000 X-Originating-IP: 127.0.0.1 Date: Fri, 12 Oct 2007 11:45:52 -0700 (PDT) From: Doug Barton To: Alexey Dokuchaev In-Reply-To: <20071012090746.GA72088@FreeBSD.org> Message-ID: References: <902.1192082681@critter.freebsd.dk> <20071012090746.GA72088@FreeBSD.org> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Poul-Henning Kamp , David O'Brien , des@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d early.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 18:45:57 -0000 On Fri, 12 Oct 2007, Alexey Dokuchaev wrote: > On Thu, Oct 11, 2007 at 06:04:41AM +0000, Poul-Henning Kamp wrote: >> In message , Doug Barton writes >> : >> >>> If you truly want to run something literally before everything else, we'd >>> have to create something new, which perhaps is what you were getting at >>> above. Before we add such a thing though, I'd like to get an idea of why >>> it would be needed. >> >> I originally added /etc/rc.early to have a way to do things that >> needed to happen before fsck, such as arming watchdogs, tweaking >> drive parameters or get crypto key material necessary for filesystem >> access. >> >> None of these things seems necessary today. > > So maybe nuke it so people won't accidentally use it again? That's what this discussion is about. I added some warnings that indicate that use of early.sh is deprecated, and it will be removed for 8.0. If there is a hue and cry from the users when they start testing the beta and see those warnings I'm still open to the idea of changing it to just early (no .sh) which would accomplish the goal of not sourcing it into rc's shell which is dangerous. Doug -- This .signature sanitized for your protection