Date: Sat, 29 Nov 2003 10:24:51 -0500 From: Richard Coleman <richardcoleman@mindspring.com> To: Andreas Klemm <andreas@freebsd.org> Cc: eik@freebsd.org Subject: Re: 5.2-BETA and related ports issues Message-ID: <3FC8BA43.1080902@mindspring.com> In-Reply-To: <20031129142508.GA46034@titan.klemm.apsfilter.org> References: <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129142508.GA46034@titan.klemm.apsfilter.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@mindspring.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC8BA43.1080902>