From owner-freebsd-rc@FreeBSD.ORG Tue Aug 17 15:09:47 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2742716A4CE for ; Tue, 17 Aug 2004 15:09:47 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id C56E543D1F for ; Tue, 17 Aug 2004 15:09:46 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by mproxy.gmail.com with SMTP id 77so111388rnl for ; Tue, 17 Aug 2004 08:09:26 -0700 (PDT) Received: by 10.38.79.23 with SMTP id c23mr65935rnb; Tue, 17 Aug 2004 08:09:25 -0700 (PDT) Message-ID: <790a9fff0408170809f006b57@mail.gmail.com> Date: Tue, 17 Aug 2004 10:09:25 -0500 From: Scot Hetzel To: Jan Srzednicki In-Reply-To: <20040817080812.GF37212@miranda.expro.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040816155653.GA2405@rogue.acs-et.com> <20040817080812.GF37212@miranda.expro.pl> cc: freebsd-rc@freebsd.org cc: current@freebsd.org Subject: Re: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 15:09:47 -0000 On Tue, 17 Aug 2004 10:08:12 +0200, Jan Srzednicki wrote: > On Tue, Aug 17, 2004 at 01:10:09AM +0200, Oliver Eikemeier wrote: > > Mike Makonnen wrote: > > > > >I have thought about this considerably, and I think the best solution > > >is to have ports rc.d scripts installed to /etc/rc.d. > > > > This is what I currently do with slapd, but this approach has multiple > > problems: > > > > - it violates the law that packages have to be PREFIX-clean, which has > > some very unfortunate consequences from a packaging point of view. > > Indeed, unfortunately. > > > - mergemaster barfs ever time (PR 64476) > > That's why my suggestion would be: /etc/rc.d/local/ (or > /etc/rc.d/ports/, or whatever you want to call it). In this way you can > easily separate both directories, and as new-style ports rc-scripts have > to be placed in the new location, there is absolutely no confusion about > them. Old scripts in /usr/local/etc/rc.d would be run with localpkg as > they have been before. > Except this breaks for people who are NFS mounting /usr/local from another machine, as the startup scripts are on the machine where the port was originally installed, instead on in local/etc/rc.d. Which is one of the purposes of putting them into local/etc/rc.d in the first place. Scot