From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 03:35:47 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 ECD9016A4CE for ; Sun, 21 Dec 2003 03:35:47 -0800 (PST) Received: from leonis.nus.edu.sg (leonis.nus.edu.sg [137.132.1.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFF0843D55 for ; Sun, 21 Dec 2003 03:35:45 -0800 (PST) (envelope-from jqdkf@army.com) Received: from army.com (175-193.priv19.nus.edu.sg [172.19.175.193]) by leonis.nus.edu.sg (8.12.9/8.12.9) with SMTP id hBLBZjo5028934 for ; Sun, 21 Dec 2003 19:35:46 +0800 (SGT) Received: (qmail 661 invoked by uid 1000); 21 Dec 2003 11:35:42 -0000 From: jqdkf@army.com Date: Sun, 21 Dec 2003 19:35:42 +0800 To: current@freebsd.org Message-ID: <20031221113542.GA626@cactus.homeunix.org> Mail-Followup-To: current@freebsd.org References: <20031221084531.GB31516@cactus.homeunix.org> <20031221105925.GA1713@utgard.lodz.mm.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031221105925.GA1713@utgard.lodz.mm.pl> User-Agent: Mutt/1.4.1i Subject: Re: services under /usr/local/etc/rc.d run twice on boot 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: Sun, 21 Dec 2003 11:35:48 -0000 On Sun, Dec 21, 2003 at 11:59:25AM +0100, Huginn wrote: > On Sun, Dec 21, 2003 at 04:45:31PM +0800, jqdkf@army.com wrote: > > Hi all, > > > > I'm using 5.2-current now and each time my system starts up, the scripts > > under /usr/local/etc/rc.d/ run twice. Though it is not harmful, it is > > really annoying which print out a lot of error messages on screen say the > > service has already been running. How can I resolve this problem? Is it > > related with any config file or with the kernel? > > > Copy-paste from /usr/srt/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. > -- > Huginn Thanks a lot. It does solve the problem. But I wonder why freebsd doesn't remove those obsolete files automatically after each upgrade. It would make the system cleaner and avoid such difficult to track problems. -- Zeng Nan Simple is Beautiful.