Date: Mon, 16 Feb 2009 22:01:18 +0100 From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: Mike Makonnen <mmakonnen@gmail.com> Cc: Garrett Cooper <yanefbsd@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Re: Annoyance with recent parallelism in rc.d Message-ID: <20090216210118.GA85984@wep4035.physik.uni-wuerzburg.de> In-Reply-To: <49998707.40205@gmail.com> References: <7d6fde3d0902150028n5f07ee55mc6026e1e4935eeb0@mail.gmail.com> <20090215153531.GA36438@wep4035.physik.uni-wuerzburg.de> <49998707.40205@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090216210118.GA85984>