From owner-freebsd-ports@FreeBSD.ORG Sun Nov 30 08:40:12 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 41D7716A4CE; Sun, 30 Nov 2003 08:40:12 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1AE943FBD; Sun, 30 Nov 2003 08:40:09 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) hAUGe7vq003981 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 30 Nov 2003 17:40:08 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)hAUGe62A003980; Sun, 30 Nov 2003 17:40:06 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.10/8.12.9) with ESMTP id hAUGZHjV071180; Sun, 30 Nov 2003 17:35:17 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost)hAUGZHWQ071179; Sun, 30 Nov 2003 17:35:17 +0100 (CET) (envelope-from andreas) Date: Sun, 30 Nov 2003 17:35:17 +0100 From: Andreas Klemm To: Richard Coleman Message-ID: <20031130163517.GA70858@titan.klemm.apsfilter.org> References: <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129142508.GA46034@titan.klemm.apsfilter.org> <20031129212652.GC8768@xor.obsecurity.org> <3FC955E3.3070608@FreeBSD.org> <3FCA10A4.2020409@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FCA10A4.2020409@mindspring.com> X-Operating-System: FreeBSD 5.2-BETA X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.5.1i cc: ports@FreeBSD.org cc: freebsd-current@FreeBSD.org cc: Kris Kennaway cc: Oliver Eikemeier 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: Sun, 30 Nov 2003 16:40:12 -0000 On Sun, Nov 30, 2003 at 10:45:40AM -0500, Richard Coleman wrote: > Oliver Eikemeier wrote: > > >The reason I did this was to support services like mail and nss_ldap. I > >really like to be > >prefix safe, PR conf/56736 relates to this: > > > > > >I agree that there should be a better solution, and already asked Mike > >Makonnen > > about it, but nobody seemed to care. > > > >IMHO not participating in rcorder(8) makes the packing list pettier and > >avoids an ugly hack, > >which is good, but restrains functionality. I like the idea of account > >managed in an > >centralized LDAP directory very much. > > > >So, do you still think the scripts should not participate in rcorder(8)? > >It's easy to > >change the ports, but this is probably not the right fix. > > > >-Oliver > > 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 /// -- Andreas Klemm - Powered by FreeBSD 5.1-CURRENT Need a magic printfilter today ? -> http://www.apsfilter.org/