From owner-freebsd-questions@FreeBSD.ORG Wed May 2 00:59:41 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 9FD37106567A for ; Wed, 2 May 2012 00:59:41 +0000 (UTC) (envelope-from khairil.yusof@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEAA8FC12 for ; Wed, 2 May 2012 00:59:41 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so69954wib.13 for ; Tue, 01 May 2012 17:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9weN7gFtVkwY3QJ6y+hcNeSTeu7e5Qi1hD0rORvBsBA=; b=F71O9Dq5gmM9T/TP0ntzxfkaC5CZVvfGKchlDvusJKIre6uIrWhJmqNXblKHeFQ/e8 p3W51BCEHjnYdbcmsU9UXBUp2hB8epOZQnNEKaBXceFyjVSH3DIDQh+xHhAm/1Xs1iqn gaiBmZxaivs9iNbrpNFF3Cu2mK5gkSTCzm2e/KDiuqagg3XSE6G9iekFB2HVIvPcEkNe ts5P2HMrbFBg3ZELZHFx/Xt5Zs3WQwrwWtdOpvePukXrxNCqZsExl99JMzlz7whZ+Imf ZkOk/4TGikXNoIQveQh97i2Q18WNnJAzvDQSseQRYOLrtaTfM9WwhUBm/8qmHQNDCs+E iDIQ== MIME-Version: 1.0 Received: by 10.180.24.66 with SMTP id s2mr9320681wif.7.1335920380087; Tue, 01 May 2012 17:59:40 -0700 (PDT) Received: by 10.216.199.95 with HTTP; Tue, 1 May 2012 17:59:40 -0700 (PDT) Received: by 10.216.199.95 with HTTP; Tue, 1 May 2012 17:59:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 08:59:40 +0800 Message-ID: From: Khairil Yusof To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:59:41 -0000 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" 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. >