Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2012 08:59:40 +0800
From:      Khairil Yusof <khairil.yusof@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: netif starting late after upgrade to FreeBSD 9.0 from 8
Message-ID:  <CAMkFsdmr1PhXW%2BQ9if3-JxiEE5yb6ZTs2mxy5=eqW8tti16iKA@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1205011843450.2007@wonkity.com>
References:  <CAMkFsd=Y1N5r35avN4wo6KHVKfPxBsAgBfj6uMXR3xSGzbCk0A@mail.gmail.com> <alpine.BSF.2.00.1205011843450.2007@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks I stumbled upon netwait already. The only problem I have now is PF.
The rules of course include network interfaces but lo0 doesn't seem to be
up yet.
On May 2, 2012 8:44 AM, "Warren Block" <wblock@wonkity.com> wrote:

> 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?CAMkFsdmr1PhXW%2BQ9if3-JxiEE5yb6ZTs2mxy5=eqW8tti16iKA>