From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 17:32:26 2004 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 0974E16A4CE for ; Fri, 30 Jan 2004 17:32:26 -0800 (PST) Received: from smtp.fud.org.nz (203-79-110-29.cable.paradise.net.nz [203.79.110.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22CA443D39 for ; Fri, 30 Jan 2004 17:32:24 -0800 (PST) (envelope-from andy@fud.org.nz) Received: by smtp.fud.org.nz (Postfix, from userid 1001) id EC851170AA; Sat, 31 Jan 2004 14:32:21 +1300 (NZDT) Date: Sat, 31 Jan 2004 14:32:21 +1300 From: Andrew Thompson To: David Gilbert Message-ID: <20040131013221.GA83610@kate.fud.org.nz> References: <16410.59138.725360.316389@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16410.59138.725360.316389@canoe.dclg.ca> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: /usr/local/etc/rc.d running twice. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 01:32:26 -0000 On Fri, Jan 30, 2004 at 06:21:38PM -0500, David Gilbert wrote: > I don't know precisely when it happened, but I recently cvsup'd to > -CURRENT, made a kernel and world, and then ran mergemaster ... > > > ... and /usr/local/etc/rc.d runs twice at bootup. Certain things that > create pid files (like postgresql) fail the second time their script > is run, but other things (like faxd and faxq form hylafax) end up with > two copies running. > > I've investigated, and the scripts in question require a 'start' > argument before they do anything. > > Is this known? Is there a fix for this? >From /usr/src/UPDATING 20030829: 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. Andy