dhclient Can't set SO_REUSEPORT option on dhcp socket: Protocol not available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
In ubuntu saucy x86_64 dhclient for IPv6 is broken for lowlatency kernel from raring
Holen: 1 http://
isc-dhcp-client (4.2.4-6ubuntu2) wird eingerichtet ...
# dhclient -6 -d -v --no-pid -lf /var/lib/
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https:/
Can't set SO_REUSEPORT option on dhcp socket: Protocol not available
unmap(0x7f44fde
socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
setsockopt(5, SOL_SOCKET, 0xf /* SO_??? */, [1], 4) = -1 ENOPROTOOPT (Protocol not available)
sendto(3, "<27>May 25 10:58:15 dhclient: Ca"..., 98, MSG_NOSIGNAL, NULL, 0) = 98
write(2, "Can't set SO_REUSEPORT option on"..., 68Can't set SO_REUSEPORT option on dhcp socket: Protocol not available) = 68
write(2, "\n", 1
) = 1
exit_group(1) = ?
version 4.2.4-5ubuntu2 from raring working fine
Per strace otput problem is in setting SO_REUSEPORT to socket. This option is not applied to ipv4 socket though
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(6, {sa_family=AF_INET, sin_port=htons(68), sin_addr=
sendto(3, "<30>May 25 11:08:14 dhclient: Se"..., 58, MSG_NOSIGNAL, NULL, 0) = 58
This option is not covered by POSIX
http://
even though introduced to linux kernel in v 3.9 while ll kernel used on the system is still 3.8
Linux box.ruff.mobi 3.8.0-22-lowlatency #15-Ubuntu SMP PREEMPT Sat May 18 20:09:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Workaround would be to downgrade isc-dhcp or move to kernel 3.9
Not sure if reuseport is so vital to dhclient package - it was working fine without it.
description: | updated |
Changed in isc-dhcp (Ubuntu): | |
status: | New → Confirmed |
Please don't confirm your own bugs!