Since ISC dhcpd 4.1 now supports DHCPv6, but a single instance of the daemon can't do both IPv4 DHCP and DHCPv6, it would be nice if the rc.d script from the port could be configured to start the daemon twice. The mailing list discussion about this starts at: http://lists.freebsd.org/pipermail/freebsd-ports/2011-January/065284.html On the FreeBSD ports mailing list, Doug Barton suggested using name="${0##*/}" in the rc.d script and symlinking to it. This sounds like a good solution to me. I think we should name the symlink "dhcpd6" as dhcpd already uses that name for at least the leases file and pid file when running with -6 by default.
Responsible Changed From-To: freebsd-ports-bugs->wxs Over to maintainer (via the GNATS Auto Assign Tool)
I guess we might want to do name="${0##*/isc-}" so we can name the symlink isc-dhcpd6 to keep it consistent with the current naming. -- Douglas William Thrift <douglas@douglasthrift.net> <http://douglasthrift.net/>
I've attached an initial patch to make the symlink rc.d script work for DHCPv6. It still probably needs documentation and it also looks like it might be a good idea to make parallel changes to isc-dhcp41-relay. -- Douglas William Thrift <douglas@douglasthrift.net> <http://douglasthrift.net/>
On Sat, Jan 29, 2011 at 08:07:15AM -0800, Douglas Thrift wrote: > I've attached an initial patch to make the symlink rc.d script work for > DHCPv6. It still probably needs documentation and it also looks like it > might be a good idea to make parallel changes to isc-dhcp41-relay. > -- > Douglas William Thrift > <douglas@douglasthrift.net> > <http://douglasthrift.net/> Thanks for working on this. I've been traveling a lot lately so I haven't had time to work on this, but I do appreciate your effort. A quick review doesn't reveal any obvious problems. I do want to take a closer look and get it in the tree as soon as possible. Just want to let you know that I got your patch and will work to commit it as soon as I can. -- WXS
wxs 2011-02-14 02:21:27 UTC FreeBSD ports repository Modified files: net/isc-dhcp41-server Makefile pkg-plist net/isc-dhcp41-server/files isc-dhcpd.in Log: Add support for DHCPv6 server. PR: ports/153781 Submitted by: Douglas William Thrift <douglas@douglasthrift.net> Revision Changes Path 1.17 +10 -4 ports/net/isc-dhcp41-server/Makefile 1.3 +108 -94 ports/net/isc-dhcp41-server/files/isc-dhcpd.in 1.4 +6 -1 ports/net/isc-dhcp41-server/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!