Re: 5.2-BETA and related ports issues

From: Richard Coleman <richardcoleman_at_mindspring.com>
Date: Sat, 29 Nov 2003 10:24:51 -0500
Andreas Klemm wrote:

>>        The following rc.d scripts have been removed and should be
>>        deleted from your installation: atm2.sh atm3.sh devdb
>>        localdaemons network1 network2 network3. Depending on when
>>        you last updated world and used mergemaster(8) you may or
>>        may not have problems during the rc boot sequence. The simplest
>>        solution is an 'rm -rf /etc/rc.d/*' and then 'mergemaster -i'.
>>        The atm2.sh atm3.sh and devdb scripts were removed some time
>>        ago, so depending on when you installed -CURRENT these scripts
>>        may or may not exist on your system.
> 
> I can't recommend doing it this way, since some ports I know
> are writing startup scripts to /etc/rc.d :-/
> 
> Cc'd to port maintainer to sanitize this
> 
> 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:_at_unexec /etc/rc.d/slapd stop 2>&1 >/dev/null || true
> openldap-server-2.1.23/+CONTENTS:_at_unexec /etc/rc.d/slurpd stop 2>&1 >/dev/null || true
> openldap-server-2.1.23/+CONTENTS:_at_cwd /etc/rc.d

It's too bad that portlint doesn't catch this.  I wonder how hard it 
would be to add such detection.  It already does some pretty amazing 
stuff already.

Richard Coleman
richardcoleman_at_mindspring.com
Received on Sat Nov 29 2003 - 06:24:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC