From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 07:46:38 2004 Return-Path: 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 1734216A4CE for ; Wed, 18 Aug 2004 07:46:38 +0000 (GMT) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.FreeBSD.org (Postfix) with SMTP id 98DD443D1D for ; Wed, 18 Aug 2004 07:46:36 +0000 (GMT) (envelope-from sthaug@nethelp.no) Received: (qmail 17777 invoked by uid 1001); 18 Aug 2004 07:46:33 -0000 To: oberman@es.net From: sthaug@nethelp.no In-Reply-To: Your message of "Tue, 17 Aug 2004 14:55:21 -0700" References: <20040817215521.4BCA45D04@ptavv.es.net> X-Mailer: Mew version 1.05+ on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Wed, 18 Aug 2004 09:46:33 +0200 Message-ID: <17775.1092815193@bizet.nethelp.no> cc: current@freebsd.org Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports(without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 07:46:38 -0000 > > - Why cannot /usr/local/etc/rc.d be used with rcorder if /etc/rc.d/local > > is okay? > > What if a startup script need to do something BEFORE /usr is mounted? My > case in point is Tobias Roth's profile.sh script. Since this is a script > only with no programs in /usr/local, the only way to put it into a port > is to allow it into the root filesystem in some place where it can be > run before any filesystem is mounted. (It is dependent on ly on fsck.) Good point. In my opinion, this is a sufficiently special requirement that it should have a special solution - no need to change the existing /usr/local/etc/rc.d mechanism. Though I can see how others would see it differently. I can live with /etc/local/etc/rc.d or /etc/rc.d/local however - it's just not something I would prefer. Also, having a separate "local" directory somewhere under /etc for startup would make it easy for mergemaster to ignore it. If /etc/local/etc/rc.d or /etc/rc.d/local is chosen it would be really nice if rcorder could also look at /usr/local/etc/rc.d, for those of us who prefer to keep things out of /etc. Steinar Haug, Nethelp consulting, sthaug@nethelp.no