From owner-freebsd-ports@FreeBSD.ORG Sun Nov 30 19:31:26 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2602216A4CE; Sun, 30 Nov 2003 19:31:26 -0800 (PST) Received: from sbk-gw.sibnet.ru (sbk-gw.sibnet.ru [217.70.96.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2FF443F75; Sun, 30 Nov 2003 19:31:20 -0800 (PST) (envelope-from stranger@sberbank.sibnet.ru) Received: from sbk-gw.sibnet.ru (localhost [127.0.0.1]) by sbk-gw.sibnet.ru (8.12.9p2/8.12.9) with ESMTP id hB13Uu9q000379; Mon, 1 Dec 2003 09:30:57 +0600 (NOVT) (envelope-from stranger@sberbank.sibnet.ru) Received: from localhost (stranger@localhost)hB13UsLg000376; Mon, 1 Dec 2003 09:30:55 +0600 (NOVT) (envelope-from stranger@sberbank.sibnet.ru) X-Authentication-Warning: sbk-gw.sibnet.ru: stranger owned process doing -bs Date: Mon, 1 Dec 2003 09:30:53 +0600 (NOVT) From: "Maxim M. Kazachek" X-X-Sender: stranger@sbk-gw.sibnet.ru To: Richard Coleman In-Reply-To: <3FCA652F.3080001@mindspring.com> Message-ID: <20031201092813.X355@sbk-gw.sibnet.ru> References: <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129212652.GC8768@xor.obsecurity.org> <3FC955E3.3070608@FreeBSD.org> <3FCA10A4.2020409@mindspring.com> <3FCA652F.3080001@mindspring.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.4 required=7.5 tests=AWL,BAYES_01 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on sbk-gw.sibnet.ru cc: ports@freebsd.org cc: Oliver Eikemeier cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: Re: Ports startup scripts in /etc/rc.d (Re: 5.2-BETA and related ports issues) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 03:31:26 -0000 On Sun, 30 Nov 2003, Richard Coleman wrote: >Andreas Klemm wrote: > >>>I guess I don't see the problem. What is wrong with ports adding >>>startup scripts to /etc/rc.d? For certain ports, that is the only way >>>to get the startup dependencies right (like making sure openldap or >>>postgresql starts before your mail system). This will become more >>>important as more of the base system moves to ports/packages. >>> >>>Just refine the note in UPDATING to specifically state which startup >>>scripts to remove, rather than "rm -rf /etc/rc.d/*". >> >> >> As I wrote im my previous mail we could import wrapper scripts >> for such basic services, since there are only few services >> that are so generic, that they have to be available so early >> in boot order. >> >> I strongly would dislike creating ports to install stuff under >> /etc/. >> >> This would start to violate things for what I liked FreeBSD for >> all these many years and I hope/think other have the same feeling >> concerning this. >> >> Andreas /// >> > >But that kinda defeats the purpose of RCNG. One of the best features of >RCNG is that it makes it easier to add/delete applications from the >system. Not using it for this purpose reduces its utility. > >Let's not let the typical BSD traditionalism get in the way of using >RCNG for what it's designed. Don't get me wrong. I'm not advocating >Linux-style integration of packages/ports. But this seems fairly harmless. > >Richard Coleman >richardcoleman@mindspring.com > > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > Perhaps we just need to place "wrapper" startup script, that will try to start "real" startup script in /usr/local/etc/rc.d if it exist? Most of ports are installed into /usr/local, so, lets don't use hierarchy above that. Sincerely, Maxim M. Kazachek mailto:stranger@sberbank.sibnet.ru mailto:stranger@fpm.ami.nstu.ru