Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 18:20:07 +1000
From:      Lawrence Stewart <lstewart@freebsd.org>
To:        Wesley Shields <wxs@FreeBSD.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   net/isc-dhcp41-client, dhclient-script and DHCPv6
Message-ID:  <4C99BC37.6070400@freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C99BC37.6070400>