[Bug 1533631] Re: Failed to renew DHCPv6 lease after suspend
TJ
ubuntu at iam.tj
Thu Mar 31 00:59:00 UTC 2016
The debug log contains:
Mar 31 01:34:59 hephaestion NetworkManager[9095]: <debug> [1459384499.752259] [dhcp-manager/nm-dhcp-client.c:222] reason_to_state(): (wlp3s0): unmapped DHCP state 'DEPREF6'
Mar 31 01:34:59 hephaestion NetworkManager[9095]: <debug> [1459384499.758516] [dhcp-manager/nm-dhcp-client.c:757] nm_dhcp_client_handle_event(): (wlp3s0): DHCP reason 'DEPREF6' -> state 'unknown'
Network Manager doesn't know how to handle "DEPREF6", which is sent from
isc-dhcp dhclient to the helper script (set by "-sf" option):
client/dhc6.c::do_depref()
{
...
if (addr->starts + addr->preferred_life <= cur_time) {
script_init(client, "DEPREF6", NULL);
dhc6_marshall_values("cur_", client, lease,
ia, addr);
script_write_requested6(client);
script_go(client);
...
}
So it seems that to correctly solve this issue Network Manager must be
taught how to handle DEPREF6.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1533631
Title:
Failed to renew DHCPv6 lease after suspend
Status in isc-dhcp package in Ubuntu:
Triaged
Status in network-manager package in Ubuntu:
Triaged
Bug description:
After fixing IPv6 address assignment (#1469346), IPv6 works fine until
sleep. On wake up ubuntu fails to renew its IPv6 lease:
Jan 13 10:47:47 ubuntu dhclient: PRC: Renewing lease on wlp3s0.
Jan 13 10:47:47 ubuntu dhclient: PRC: Rebinding lease on wlp3s0.
Jan 13 10:47:47 ubuntu dhclient: XMT: Rebind on wlp3s0, interval 9890ms.
Jan 13 10:47:47 ubuntu NetworkManager[796]: <info> (wlp3s0): DHCPv6 state changed bound -> unknown
Jan 13 10:47:47 ubuntu dhclient: PRC: Address 2a02:xxxx:xxxx:xxxx::b44 depreferred.
Jan 13 10:47:47 ubuntu NetworkManager[796]: <info> (wlp3s0): DHCPv6 state changed unknown -> expire
Jan 13 10:47:47 ubuntu NetworkManager[796]: <info> (wlp3s0): canceled DHCP transaction, DHCP client pid 1170
Jan 13 10:47:47 ubuntu NetworkManager[796]: <info> (wlp3s0): DHCPv6 state changed expire -> done
I'm not sure that it's solely NetworkManager issue (dhclient could
also be affected).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1533631/+subscriptions
More information about the foundations-bugs
mailing list