Ports startup scripts in /etc/rc.d (Re: 5.2-BETA and related ports issues)

Oliver Eikemeier eik at FreeBSD.org
Sat Nov 29 18:29:03 PST 2003


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 at 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 at 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




More information about the freebsd-current mailing list