5.2-BETA and related ports issues

Richard Coleman richardcoleman at mindspring.com
Sat Nov 29 07:24:44 PST 2003

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:@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

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

More information about the freebsd-current mailing list