Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2012 18:44:42 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Khairil Yusof <khairil.yusof@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: netif starting late after upgrade to FreeBSD 9.0 from 8
Message-ID:  <alpine.BSF.2.00.1205011843450.2007@wonkity.com>
In-Reply-To: <CAMkFsd=Y1N5r35avN4wo6KHVKfPxBsAgBfj6uMXR3xSGzbCk0A@mail.gmail.com>
References:  <CAMkFsd=Y1N5r35avN4wo6KHVKfPxBsAgBfj6uMXR3xSGzbCk0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 May 2012, Khairil Yusof wrote:

> I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0.
>
> The upgrade following /usr/src/UPDATING was without any problems.
>
> The only issue I have is that there seems to be a race condition for
> bootup scripts in which netif can start later than devices that
> require it, resulting in the following problems :
>
> 1. pf rules not being loaded as it can't find network interfaces
> defined such as lo0
> 2. named not starting
>
> I suspect that it may be a file was not installed/updated after
> mergemaster -i but, when I check /etc/rc.d/netif and pf the REQUIRES
> line is the same as that in /usr/src
>
> How do I troubleshoot this? I've tried to manually change REQUIRES for
> pf for example to LOGIN, but it doesn't have any effect.
>
> Any pointers would be much appreciated to possible solutions would be
> much appreciated.

If using DHCP, use SYNCDHCP instead.  For static IP addresses, see 
rc.conf(5) about netwait.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205011843450.2007>