Date: Thu, 12 Jul 2012 11:00:11 GMT From: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/166656: [patch] dhclient(8) doesn't exit os link down Message-ID: <201207121100.q6CB0BlH004192@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/166656; it has been noted by GNATS. From: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> To: bug-followup@FreeBSD.org, peterjeremy@acm.org Cc: Subject: Re: bin/166656: [patch] dhclient(8) doesn't exit os link down Date: Thu, 12 Jul 2012 11:57:19 +0200 Hello, FWIW, I tested this patch on FreeBSD 8.1-stable: root@kg-omni1# uname -a FreeBSD kg-omni1.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Oct 17 12:35:38 CEST 2010 root@kg-i82.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 It works flawlessly. Without the patch, dhclient would not exit, resulting in no new lease being aquired when the link goes down and up again. With the patch, dhclient exits and gets started when the link comes up again. From /var/log/messages: Jul 12 11:37:07 kg-omni1 dhclient[30335]: Link xl0 is down, dhclient exiting Jul 12 11:37:07 kg-omni1 kernel: xl0: link state changed to DOWN Jul 12 11:37:07 kg-omni1 dhclient[30322]: connection closed Jul 12 11:37:07 kg-omni1 dhclient[30322]: exiting. Jul 12 11:37:20 kg-omni1 kernel: xl0: link state changed to UP Jul 12 11:37:20 kg-omni1 dhclient: New IP Address (xl0): 84.215.134.159 Jul 12 11:37:20 kg-omni1 dhclient: New Subnet Mask (xl0): 255.255.192.0 Jul 12 11:37:20 kg-omni1 dhclient: New Broadcast Address (xl0): 255.255.255.255 Jul 12 11:37:20 kg-omni1 dhclient: New Routers (xl0): 84.215.128.1 HTH -- Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207121100.q6CB0BlH004192>