From owner-freebsd-current@FreeBSD.ORG Sun Nov 30 00:50:17 2003 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 B61F616A4CE; Sun, 30 Nov 2003 00:50:17 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B77D43FB1; Sun, 30 Nov 2003 00:50:13 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) hAU8o5vq000584 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 30 Nov 2003 09:50:06 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)hAU8o5Ne000583; Sun, 30 Nov 2003 09:50:05 +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 hAU8m1jV064497; Sun, 30 Nov 2003 09:48:01 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost)hAU8m0o9064496; Sun, 30 Nov 2003 09:48:00 +0100 (CET) (envelope-from andreas) Date: Sun, 30 Nov 2003 09:48:00 +0100 From: Andreas Klemm To: Oliver Eikemeier Message-ID: <20031130084800.GA64364@titan.klemm.apsfilter.org> References: <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129142508.GA46034@titan.klemm.apsfilter.org> <20031129212512.GB8768@xor.obsecurity.org> <3FC958DD.3050903@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC958DD.3050903@FreeBSD.org> 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: Dag-Erling Smorgrav cc: freebsd-current@FreeBSD.org cc: Andreas Klemm cc: Kris Kennaway Subject: Re: 5.2-BETA and related ports issues 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: Sun, 30 Nov 2003 08:50:17 -0000 On Sun, Nov 30, 2003 at 03:41:33AM +0100, Oliver Eikemeier wrote: > Kris Kennaway wrote: > > >On Sat, Nov 29, 2003 at 03:33:35PM +0100, Dag-Erling Smorgrav wrote: > > > >>Andreas Klemm writes: > >> > >>>I can't recommend doing it this way, since some ports I know > >>>are writing startup scripts to /etc/rc.d :-/ > >> > >>That is very, very bad. I wish we had some kind of ports QA team :( > > > >Well, er, a number of us do essentially nothing BUT ports QA. > > I'm sorry if I did something disturbing, and I'm surely interested in > ports tree QA! I know that I violate the prefix, and did that on purpose, > see my comment in net/opendldap2[012]-server/Makefile: > # currently the only way to participate in rcorder(8) > > I posted PR conf/56736: > > but nobody seemed to care, and I had enough construction areas that I didn't > wanted to start a discussion about that. > > The point is that we might want to have some port services to start early. > That gives the possibility to move functionality from the base system to > ports, which I believe isn't bad. I can simply change the openldap ports so > that they > are nice and quiet, but IMHO that does not really solve a problem. But > please > correct me if my arguments are too simple-minded. What about simply putting a number in front of the script, I didn't check but am really certain that we start scripts something like this: cd $LOCALBASE/etc/rc.d for i in *.sh <--- here you get an alphabetically sort order ! do if [ -x $i ]; then /bin/sh $i start fi done So this would be sufficient to start slapd before slurpd: /usr/local/etc/rc.d/001.slapd.sh /usr/local/etc/rc.d/002.slurpd.sh or alternatively /usr/local/etc/rc.d/openldap-01-slapd.sh /usr/local/etc/rc.d/openldap-02-slurpd.sh We already have things like: 000.mysql-client.sh 000.pkgtools.sh 000.wine.sh 010.pgsql.sh Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.1-CURRENT Need a magic printfilter today ? -> http://www.apsfilter.org/