Re: r239356: does it mean,

看板FB_current作者時間13年前 (2012/08/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串26/28 (看更多)
On Aug 21, 2012, at 5:00 PM, Slawa Olhovchenkov wrote: > On Wed, Aug 22, 2012 at 02:36:23AM +0400, Lev Serebryakov wrote: >=20 >> Hello, Ian. >> You wrote 22 =C1=D7=C7=D5=D3=D4=C1 2012 =C7., 1:38:04: >>=20 >> IL> For example, this script can replace devd as a daemon that = restarts >> IL> dhclient when any link comes back up... >>=20 >> IL> Of course the right thing to do is invoke the proper rc scripts = rather >> IL> than dhclient directly... this is just to illustrate how easy it = is to >> IL> replace devd if your needs are specialized. >> [sigh] >> Everything worked with 8.x without problems. It worked with 9.x and = -CURRENT >> with adding of ``synchronous_dhclient=3D"YES"'' into /etc/rc.conf = (And >> it cost me about 2 hours of investigation, why dhclient stops to >> start after upgrade). Next I'll need to write some script. Is it Ok >> to you? >>=20 >> Yes, I understand problem with laptops, which change wire and >> wireless networks and need to re-acquire new address. But it should >> be soleved other way. And jhb@ already posted proper solution, BTW! >>=20 >> And, as side note, ``man rc.cof'' says NOTHING about relation of = devd >> and ``synchronous_dhclient'' setting! It says about ``start >> dhclient(8) synchronously at startup'' without explaining, that >> without this option and with devd disabled, dhclient WILL NOT START >> AT ALL! And relations between devd and dhclient are not documented at >> all in: rc.conf(5), dhclient(8), devd.conf(5) and devd(8). >=20 > Time ago synchronous_dhclient is waiting for obtain IP by dhcpclient. > w/o synchronous_dhclient and ifconfig_bge0=3D"DHCP" dhcpclient run in > background and don't paused boot while obtaining IP address. > On perinterface basis: ifconfig_bge0=3D"SYNCDHCP" or = ifconfig_bge0=3D"NOSYNCDHCP" >=20 > Background start of dhcpclient currently by devd, on UP event on > ethernet interface. This introduction in 6.2. 2006-08-22. This is why monkeying with default behavior and not documenting changes = are both bad ideas. Warner _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GD5Ao0J (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GD5Ao0J (FB_current)