diff --git a/src/dhcp-manager/nm-dhcp-dhclient.c b/src/dhcp-manager/nm-dhcp-dhclient.c index 946be0c..625d9bc 100644 --- a/src/dhcp-manager/nm-dhcp-dhclient.c +++ b/src/dhcp-manager/nm-dhcp-dhclient.c @@ -250,6 +250,8 @@ nm_dhcp_client_start (NMDHCPDevice *device, NMSettingIP4Config *s_ip4) if (!((tmp == ULONG_MAX) && (errno == ERANGE))) nm_dhcp_client_stop (device, (pid_t) tmp); remove (device->pid_file); + }else if (device->pid) { + nm_debug ("Miss kill existing dhclient, pid %d", device->pid); } dhclient_argv = g_ptr_array_new (); diff --git a/src/dhcp-manager/nm-dhcp-manager.c b/src/dhcp-manager/nm-dhcp-manager.c index b2e352d..b3d0665 100644 --- a/src/dhcp-manager/nm-dhcp-manager.c +++ b/src/dhcp-manager/nm-dhcp-manager.c @@ -592,6 +592,7 @@ nm_dhcp_manager_begin_transaction (NMDHCPManager *manager, if (!device) device = nm_dhcp_device_new (manager, iface); + nm_debug ("device->pid: %d, device->state: %d", device->pid, device->state); if (device->pid && (device->state < DHC_ABEND)) { /* Cancel any DHCP transaction already in progress */ nm_dhcp_manager_cancel_transaction_real (device);
Attachment:
log.gz
Description: GNU Zip compressed data