Date: Sun, 21 Dec 2003 19:35:42 +0800 From: jqdkf@army.com To: current@freebsd.org Subject: Re: services under /usr/local/etc/rc.d run twice on boot Message-ID: <20031221113542.GA626@cactus.homeunix.org> In-Reply-To: <20031221105925.GA1713@utgard.lodz.mm.pl> References: <20031221084531.GB31516@cactus.homeunix.org> <20031221105925.GA1713@utgard.lodz.mm.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221113542.GA626>