Date: Thu, 21 Feb 2019 07:29:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235909] net/dual-dhclient: does not survive a netif restart Message-ID: <bug-235909-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235909 Bug ID: 235909 Summary: net/dual-dhclient: does not survive a netif restart Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cperciva@FreeBSD.org Reporter: hsw@bitmark.com Flags: maintainer-feedback?(cperciva@FreeBSD.org) Assignee: cperciva@FreeBSD.org Created attachment 202219 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202219&action= =3Dedit replacement dual-dhclient when using net/dual-dhclient and doing a service netif restart the DHPv6 address is lost. This is because the dhclient6 is not killed during the st= op process since the base dhclient is unaware of the /var/run/dhclient6.pid fi= le to terminate the second dhclient. As a quick workaround replace the installed /usr/local/sbin/dual-dhclient w= ith the attached script. The script just adds these two lines just befor start= ing the dhclients pid6=3D/var/run/dhclient6.pid [ -n "${pid6}" ] && kill $(cat "${pid6}") --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235909-7788>