I've tracked down a wicd problem to something related to this, I think.
Acquiring a DHCP lease manually works correctly, but wicd drops the
lease immediately after connection, when using both dhcpcd and dhclient.

Slightly cleaned output from /var/log/messages.log immediately after a
reconnect order via wicd follows below.

Note that dhcpcd receives SIGHUP immediately after acquiring the lease,
which triggers the release. dhclient receives DHCPACK and binds, then
immediately is prompted to DHCPRELEASE.

In both cases, the DHCP client is left in a defunct state.

With dhcpcd:

Sep  1 11:55:50 localhost kernel: [ 3471.942096] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep  1 11:55:50 localhost kernel: [ 3471.942197] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready
Sep  1 11:55:52 localhost dhcpcd[18714]: version 5.2.12 starting
Sep  1 11:55:52 localhost dhcpcd[18714]: eth0: broadcasting for a lease
Sep  1 11:55:52 localhost dhcpcd[18714]: eth0: offered 10.48.16.93 from 
10.48.30.2
Sep  1 11:55:52 localhost dhcpcd[18714]: eth0: acknowledged 10.48.16.93 from 
10.48.30.2
Sep  1 11:55:52 localhost dhcpcd[18714]: eth0: checking for 10.48.16.93
Sep  1 11:55:57 localhost dhcpcd[18714]: eth0: leased 10.48.16.93 for 604800 
seconds
Sep  1 11:55:57 localhost dhcpcd[18714]: forked to background, child pid 18735
Sep  1 11:55:57 localhost dhcpcd[18749]: sending signal 1 to pid 18735
Sep  1 11:55:57 localhost dhcpcd[18735]: received SIGHUP, releasing
Sep  1 11:55:57 localhost dhcpcd[18735]: eth0: releasing lease of 10.48.16.93
Sep  1 11:55:57 localhost dhcpcd[18749]: waiting for pid 18735 to exit
Sep  1 11:55:58 localhost dhcpcd[18735]: eth0: removing interface
Sep  1 11:55:58 localhost kernel: [ 3479.757145] e1000: eth0 NIC Link is Up 
1000 Mbps Full Duplex, Flow Control: RX
Sep  1 11:55:58 localhost kernel: [ 3479.758373] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep  1 11:55:58 localhost kernel: [ 3479.758488] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready

And for dhclient:

Sep  1 11:56:38 localhost kernel: [ 3519.649597] e1000: eth0 NIC Link is Up 
1000 Mbps Full Duplex, Flow Control: RX
Sep  1 11:56:38 localhost kernel: [ 3519.662351] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep  1 11:56:38 localhost kernel: [ 3519.662460] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready
Sep  1 11:56:40 localhost dhclient: Internet Systems Consortium DHCP Client 
4.2.1-P1
Sep  1 11:56:40 localhost dhclient: Copyright 2004-2011 Internet Systems 
Consortium.
Sep  1 11:56:40 localhost dhclient: All rights reserved.
Sep  1 11:56:40 localhost dhclient: For info, please visit 
https://www.isc.org/software/dhcp/
Sep  1 11:56:40 localhost dhclient: 
Sep  1 11:56:41 localhost dhclient: Listening on LPF/eth0/08:00:27:a6:27:ef
Sep  1 11:56:41 localhost dhclient: Sending on   LPF/eth0/08:00:27:a6:27:ef
Sep  1 11:56:41 localhost dhclient: Sending on   Socket/fallback
Sep  1 11:56:44 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 
port 67 interval 4
Sep  1 11:56:44 localhost dhclient: DHCPOFFER from 10.48.30.2
Sep  1 11:56:44 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 
67
Sep  1 11:56:44 localhost dhclient: DHCPACK from 10.48.30.2
Sep  1 11:56:44 localhost dhclient: bound to 10.48.16.93 -- renewal in 275979 
seconds.
Sep  1 11:56:45 localhost dhclient: Internet Systems Consortium DHCP Client 
4.2.1-P1
Sep  1 11:56:45 localhost dhclient: Copyright 2004-2011 Internet Systems 
Consortium.
Sep  1 11:56:45 localhost dhclient: All rights reserved.
Sep  1 11:56:45 localhost dhclient: For info, please visit 
https://www.isc.org/software/dhcp/
Sep  1 11:56:45 localhost dhclient: 
Sep  1 11:56:45 localhost dhclient: Listening on LPF/eth0/08:00:27:a6:27:ef
Sep  1 11:56:45 localhost dhclient: Sending on   LPF/eth0/08:00:27:a6:27:ef
Sep  1 11:56:45 localhost dhclient: Sending on   Socket/fallback
Sep  1 11:56:45 localhost dhclient: DHCPRELEASE on eth0 to 10.48.30.2 port 67
Sep  1 11:56:45 localhost kernel: [ 3526.644755] e1000: eth0 NIC Link is Up 
1000 Mbps Full Duplex, Flow Control: RX
Sep  1 11:56:45 localhost kernel: [ 3526.645295] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep  1 11:56:45 localhost kernel: [ 3526.645406] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready
Sep  1 11:56:45 localhost kernel: [ 3526.844201] e1000: eth0 NIC Link is Up 
1000 Mbps Full Duplex, Flow Control: RX
Sep  1 11:56:45 localhost kernel: [ 3526.844727] ADDRCONF(NETDEV_UP): eth0: 
link is not ready
Sep  1 11:56:45 localhost kernel: [ 3526.844841] ADDRCONF(NETDEV_CHANGE): eth0: 
link becomes ready

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/707275

Title:
  wicd seems create dhcp zombie defunct process

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wicd/+bug/707275/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to