net/isc-dhcp41-client, dhclient-script and DHCPv6

Lawrence Stewart lstewart at freebsd.org
Wed Sep 22 08:38:11 UTC 2010


Hi Wesley,

I've been playing with DHCPv6 and in doing so, ran into an apparent
problem with the net/isc-dhcp41-client port.

It currently overwrites the FreeBSD client script distributed by ISC
with a custom script "client::scripts::freebsd" which lives in the
net/isc-dhcp41-server port's files directory. I'm not sure what the
historical reasoning for this is, but the custom script does not work
when the ISC client is used to do DHCPv6 (it barfs with "dhclient:
dhclient-script called with invalid reason PREINIT6". There is no
mention of PREINIT6 in /usr/local/sbin/dhclient-script, but there is in
the ISC stock script.).

Do you have any thoughts on if there is still the need to replace the
ISC script with a custom one? If the answer is "no longer necessary",
then we can simply remove the "post-extract" target from the
net/isc-dhcp41-server Makefile. If there is a good reason to keep the
custom script, then some further hacking will be required.

Cheers,
Lawrence


More information about the freebsd-ports mailing list