From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 21:01:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D8B1065670 for ; Mon, 16 Feb 2009 21:01:22 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id DCE088FC13 for ; Mon, 16 Feb 2009 21:01:21 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 3776AA0716; Mon, 16 Feb 2009 22:01:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 2AD4FA0708; Mon, 16 Feb 2009 22:01:19 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 1753EA0700; Mon, 16 Feb 2009 22:01:19 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009021622011873-75034 ; Mon, 16 Feb 2009 22:01:18 +0100 Received: by wep4035 (sSMTP sendmail emulation); Mon, 16 Feb 2009 22:01:18 +0100 From: "Alexey Shuvaev" Date: Mon, 16 Feb 2009 22:01:18 +0100 To: Mike Makonnen Message-ID: <20090216210118.GA85984@wep4035.physik.uni-wuerzburg.de> References: <7d6fde3d0902150028n5f07ee55mc6026e1e4935eeb0@mail.gmail.com> <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de> <49998707.40205@gmail.com> MIME-Version: 1.0 In-Reply-To: <49998707.40205@gmail.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/16/2009 10:01:18 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/16/2009 10:01:19 PM, Serialize complete at 02/16/2009 10:01:19 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: Garrett Cooper , FreeBSD Current Subject: Re: Re: Annoyance with recent parallelism in rc.d X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 21:01:22 -0000 On Mon, Feb 16, 2009 at 06:32:23PM +0300, Mike Makonnen wrote: > Alexey Shuvaev wrote: >> I have ntpd failing to resolve dns names. >> I have noticed this since appr. 1.350 of etc/defaults/rc.conf (12 days ago). >> I was hoping this will go away... >> >> [snip] >> >> Since, rc.d/defaultroute has the ability to wait for a >> default route to show up we can turn this knob back on >> without screwing subsequent daemons that expect to be >> able to talk to the outside world. >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Seems it is not the case... >> Interesting: setting background_dhclient="NO" does not >> solve the issue. Maybe something else was changed? >> My current 'workaroud' is synchronous_dhclient="YES" > > Please see my reply to the previous email in this thread. The problem > was not this commit, but the one before it. Your setup used to work as > a side-effect of rc.d/defaultroute's previous behavior. > Rev. 1.4 of rc.d/defaultroute. Ok, what should I do to have network daemons happy on startup? I am on a LAN so always have plugged-in cable. I do see on the console: msk0: link state changed to DOWN msk0: link state changed to UP got link msk0: link state changed to DOWN Starting Network: lo0 msk0. msk0: link state changed to UP msk0: link state changed to DOWN AFAIK some NIC (or PHY-s?) require some sort of reset to handle some events. Should I live with synchronous_dhclient="YES" or something else? Thanks, Alexey.