Package: isc-dhcp-client Version: 4.2.4-7 Severity: normal Tags: upstream Dear Maintainer,
Under kfreebsd, if I configure a second interface to use DHCP, the client fails because it can't bind a socket to port 68, because it's in use. The code sets the SO_REUSEADDR socket option, which works fine under Linux, but FreeBSD requires that the SO_REUSEPORT option be set. (I'm not sure whether they are both required, or just the latter.) This is still the case in the current upstream version, 4.2.5-P1. Script started on Thu 14 Nov 2013 04:35:10 PM EST hermit@gammaflex:~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo0 iface lo0 inet loopback # The primary network interface auto em0 iface em0 inet dhcp iface em1 inet dhcp hermit@gammaflex:~$ sudo ifup em1 [sudo] password for hermit: Internet Systems Consortium DHCP Client 4.2.4 Copyright 2004-2012 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on BPF/em1/00:0c:29:77:90:47 Sending on BPF/em1/00:0c:29:77:90:47 Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. Failed to bring up em1. hermit@gammaflex:~$ netstat -an | egrep '\.68' udp4 0 0 *.68 *.* hermit@gammaflex:~$ ps auwwx | egrep dhclient hermit 1953 0.0 0.6 7736 1568 ? S+ 16:35 0:00 egrep dhclient root 968 0.0 1.9 9712 4568 ? Ss 16:27 0:00 dhclient -v -pf /run/dhclient.em0.pid -lf /var/lib/dhcp/dhclient.em0.leases em0 hermit@gammaflex:~$ Script done on Thu 14 Nov 2013 04:35:49 PM EST -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 9.2-1-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages isc-dhcp-client depends on: ii debianutils 4.4 ii inetutils-ping 2:1.9.1.306-0a482-1 ii isc-dhcp-common 4.2.4-7 ii libc0.1 2.17-93 isc-dhcp-client recommends no packages. Versions of packages isc-dhcp-client suggests: pn avahi-autoipd <none> pn resolvconf <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org