/usr/local/etc/rc.d running twice.

Andrew Thompson andy at fud.org.nz
Fri Jan 30 17:32:26 PST 2004


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


More information about the freebsd-current mailing list