From owner-freebsd-rc@FreeBSD.ORG Tue Aug 17 15:59:03 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 7CD3D16A4CE; Tue, 17 Aug 2004 15:59:03 +0000 (GMT) Received: from miranda.expro.pl (mail2.expro.pl [193.25.166.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3816443D49; Tue, 17 Aug 2004 15:59:01 +0000 (GMT) (envelope-from winfried@miranda.expro.pl) Received: by miranda.expro.pl (Postfix, from userid 1001) id 96102153DB; Tue, 17 Aug 2004 17:58:56 +0200 (CEST) Date: Tue, 17 Aug 2004 17:58:56 +0200 From: Jan Srzednicki To: Scot Hetzel Message-ID: <20040817155856.GA28897@miranda.expro.pl> References: <20040816155653.GA2405@rogue.acs-et.com> <20040817080812.GF37212@miranda.expro.pl> <790a9fff0408170809f006b57@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0408170809f006b57@mail.gmail.com> User-Agent: Mutt/1.5.6i 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 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:59:03 -0000 On Tue, Aug 17, 2004 at 10:09:25AM -0500, Scot Hetzel wrote: > On Tue, 17 Aug 2004 10:08:12 +0200, Jan Srzednicki wrote: > > > > 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. That can easily be fixed by a global make option (in /etc/make.conf) that would not install anything in /etc/rc.d/local/ and use old-style /usr/local/etc/rc.d, even if the system supports /etc/rc.d/local/. So it brings us to two make options - INSTALL_RCD and IGNORE_INSTALL_RCD (just a naming suggestion). /etc/rc.d/localpkg won't go away, so this seems to me to be a good solution. -- Jan 'wrzask' Srzednicki w@expro.pl