From owner-freebsd-current@FreeBSD.ORG Sat Nov 29 07:24:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7160516A4CE; Sat, 29 Nov 2003 07:24:44 -0800 (PST) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F3043FA3; Sat, 29 Nov 2003 07:24:43 -0800 (PST) (envelope-from richardcoleman@mindspring.com) Received: from titan.criticalmagic.com ([68.213.16.23] helo=mindspring.com) by firecrest.mail.pas.earthlink.net with asmtp (Exim 3.33 #1) id 1AQ6xf-0000xk-00; Sat, 29 Nov 2003 07:24:43 -0800 Message-ID: <3FC8BA43.1080902@mindspring.com> Date: Sat, 29 Nov 2003 10:24:51 -0500 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Klemm References: <200311281553.hASFrURT003309@siralan.org> <86fzg8scn5.fsf@borg.borderworlds.dk> <20031129142508.GA46034@titan.klemm.apsfilter.org> In-Reply-To: <20031129142508.GA46034@titan.klemm.apsfilter.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 1ee258965991efcb0865379cdb43356e5e89bb4777695beb702e37df12b9c9efc95657fc9b32fb49fd2988e473de2555350badd9bab72f9c350badd9bab72f9c cc: freebsd-current@freebsd.org cc: eik@freebsd.org Subject: Re: 5.2-BETA and related ports issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 15:24:44 -0000 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