From owner-cvs-all@FreeBSD.ORG Thu Oct 11 15:58:28 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 E717416A506 for ; Thu, 11 Oct 2007 15:58:28 +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 9021713C442 for ; Thu, 11 Oct 2007 15:58:28 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16143 invoked by uid 399); 11 Oct 2007 15:58:28 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 11 Oct 2007 15:58:28 -0000 X-Originating-IP: 127.0.0.1 Date: Thu, 11 Oct 2007 08:58:25 -0700 (PDT) From: Doug Barton To: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86odf615j2.fsf@ds4.des.no> Message-ID: References: <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org> <20071010183542.GA58383@hub.freebsd.org> <86odf615j2.fsf@ds4.des.no> 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: MULTIPART/MIXED; BOUNDARY="0-1220617959-1192118307=:12203" Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, David O'Brien 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: Thu, 11 Oct 2007 15:58:29 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1220617959-1192118307=:12203 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 11 Oct 2007, Dag-Erling Smørgrav wrote: > Doug Barton writes: >> I'm not opposed to that idea (in fact I seriously considered it) but >> the reason I didn't do it is that I don't have a good sense of why we >> need it. Once again as Mike pointed out, the reason that it was there, >> and the reason it was .sh was specifically to do what we're now trying >> to avoid, since whatever benefits there may have been don't outweigh >> the risks. > > So you remove functionality that others depend on simply because you > don't understand it and / or don't need it yourself? Um, no. That's not at all what I said, and I don't appreciate you mischaracterizing what I did say. Also, please keep in mind that I'm not suggesting we remove it until RELENG_8 branches, so we have plenty of time to find the right answer here. > You didn't even bother to ask on freebsd-rc. It was discussed there at the time that I added support for local scripts in the overall boot order. The period of time between now and then is longer than I would have liked, but life happens. >> I was unaware of the use of this script suggested in gmirror(8) until >> Dmitry pointed it out to me, and that usage should really be converted >> to a proper rc.d script. > > It's not the kind of thing that lends itself well to being formalized in > that manner. I disagree with you on that, and I plan to submit a script that does what I have in mind for the people familiar with gmirror to test. > This is precisely why we have rc.early and rc.local: so people who have > special (perhaps one-off) needs can do special (perhaps one-off) things > without jumping through too many hoops. No one is suggesting removing rc.local, and I would vigorously oppose doing so. As I said in my last message, if users respond to the deprecation warning with a request not to remove it, we can convert it to being a regular rc.d script. That way it's only a little dangerous instead of being super dangerous and potentially fatal. I can't help but think that you're having a knee-jerk reaction to something that at the end of the day is not that big of a deal. I would suggest that perhaps taking a step back and gaining some perspective might be a useful exercise at this point. Doug -- This .signature sanitized for your protection --0-1220617959-1192118307=:12203--