From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 15:40:30 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 C00EC16A4CE for ; Tue, 17 Aug 2004 15:40:30 +0000 (GMT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58FA943D46 for ; Tue, 17 Aug 2004 15:40:30 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1Bx64b-0003AT-03; Tue, 17 Aug 2004 17:40:29 +0200 Received: from Andro-Beta.Leidinger.net (SrdMBTZeQeRw1f90wvtKi8EBZ6ZPSQCndOSJwPHoVcoi1G1Y7avncz@[217.229.209.187]) by fmrl03.sul.t-online.com with esmtp id 1Bx64V-1EfLPc0; Tue, 17 Aug 2004 17:40:23 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i7HFeQa1040940 for ; Tue, 17 Aug 2004 17:40:26 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 17 Aug 2004 17:41:21 +0200 From: Alexander Leidinger To: freebsd-current@freebsd.org Message-Id: <20040817174121.6e506107@Magellan.Leidinger.net> In-Reply-To: <41221108.6010407@freebsd.org> References: <200408170822.32183.jhandvil@tampabay.rr.com> <61422.1092748299@bizet.nethelp.no> <41221108.6010407@freebsd.org> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: SrdMBTZeQeRw1f90wvtKi8EBZ6ZPSQCndOSJwPHoVcoi1G1Y7avncz@t-dialin.net 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: Tue, 17 Aug 2004 15:40:30 -0000 On Tue, 17 Aug 2004 16:07:04 +0200 Andre Oppermann wrote: > sthaug@nethelp.no wrote: > >>I think that a better way would be to find an elegant method of > >>allowing /usr/local/etc/rc.d to participate in rcorder. I've got plenty of > >>ideas about how to do this without breaking the filesystem dependency, but > >>I'll wait to see what -current and -hackers come up with. I am sure that > >>their method will be cleaner. > > > > I would much prefer to keep ports out of /etc (or out of the root file > > system in general). I agree with the point made by several others that > > the clean separation of base system and local mods is one of the great > > strengths of FreeBSD. > > > > Since /etc/rc.d/local (or similar) has been proposed: > > > > - Why cannot /usr/local/etc/rc.d be used with rcorder if /etc/rc.d/local > > is okay? > > > > - If the argument is that /usr/local is not available: Okay, but in that > > case you won't be able to start the ports anyway, since they are located > > somewhere under /usr/local. > > Same opinion++ AOL, but additionally an /etc/rc.d/local/ would be good too. In case you want to use self-written scripts which want to do things before /usr/local isn't available. You can't place such scripts into /usr/local (obviously), and you can't reliably place such scripts into /etc/rc.d/, since mergemaster complains about them (and if you aren't the only person maintaining the system the foot-shooting potential increases by placing such scripts into plain /etc/rc.d/). Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7