From owner-freebsd-questions@FreeBSD.ORG Wed May 2 00:44:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD76A106564A for ; Wed, 2 May 2012 00:44:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6885B8FC12 for ; Wed, 2 May 2012 00:44:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q420ig3E002128; Tue, 1 May 2012 18:44:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q420igP8002125; Tue, 1 May 2012 18:44:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 1 May 2012 18:44:42 -0600 (MDT) From: Warren Block To: Khairil Yusof In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 01 May 2012 18:44:43 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: netif starting late after upgrade to FreeBSD 9.0 from 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 00:44:49 -0000 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.