[Bug 235909] net/dual-dhclient: does not survive a netif restart
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 21 07:29:22 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235909
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 at FreeBSD.org
Reporter: hsw at bitmark.com
Flags: maintainer-feedback?(cperciva at FreeBSD.org)
Assignee: cperciva at FreeBSD.org
Created attachment 202219
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202219&action=edit
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 stop
process since the base dhclient is unaware of the /var/run/dhclient6.pid file
to terminate the second dhclient.
As a quick workaround replace the installed /usr/local/sbin/dual-dhclient with
the attached script. The script just adds these two lines just befor starting
the dhclients
pid6=/var/run/dhclient6.pid
[ -n "${pid6}" ] && kill $(cat "${pid6}")
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list