Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 03:28:51 +0100
From:      Oliver Eikemeier <eik@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Andreas Klemm <andreas@FreeBSD.org>
Subject:   Re: Ports startup scripts in /etc/rc.d (Re: 5.2-BETA and related ports issues)
Message-ID:  <3FC955E3.3070608@FreeBSD.org>
In-Reply-To: <20031129212652.GC8768@xor.obsecurity.org>
References:  <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129142508.GA46034@titan.klemm.apsfilter.org> <20031129212652.GC8768@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:

> On Sat, Nov 29, 2003 at 03:25:08PM +0100, Andreas Klemm wrote:
> 
> 
>>All openldapXX-server ports do this for example
>>
>>root@titan[ttyp2]{219} /var/db/pkg grep /etc/rc.d */+CONTEN*
>>[...]
>>openldap-server-2.1.23/+CONTENTS:@unexec /etc/rc.d/slapd stop 2>&1 >/dev/null || true
>>openldap-server-2.1.23/+CONTENTS:@unexec /etc/rc.d/slurpd stop 2>&1 >/dev/null || true
>>openldap-server-2.1.23/+CONTENTS:@cwd /etc/rc.d
> 
> That should be fixed before the release.  I can't think of any reason
> why these should be using /etc/rc.d instead of /usr/local/etc/rc.d.

Sorry that I missed that thread, our ISP has f*cked up our connection.

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:
 <http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/56736>;

I agree that there should be a better solution, and already asked Mike Makonnen
<mtm@identd.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC955E3.3070608>