Comment 8 for bug 1533631

Revision history for this message
TJ (tj) wrote : Re: Failed to renew DHCPv6 lease after suspend

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.