wicd seems create dhcp zombie defunct process

Bug #707275 reported by marcobra (Marco Braida)
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wicd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: wicd

Description: Ubuntu 10.04.2 LTS
Release: 10.04

wicd:
  Installed: 1.7.0+ds1-2
  Candidate: 1.7.0+ds1-2
  Version table:
 *** 1.7.0+ds1-2 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

wicd seems create dhcp zombie defunct process

ps -el | grep 'Z'
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 Z 0 1699 1463 0 80 0 - 0 exit ? 00:00:00 dhclient <defunct>

Thank you

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: wicd 1.7.0+ds1-2
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic i686
Architecture: i386
Date: Tue Jan 25 07:05:20 2011
PackageArchitecture: all
ProcEnviron:
 LC_TIME=it_IT.UTF-8
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: wicd

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :
Revision history for this message
Horst Maier (schnappfuesch) wrote :

Same problem here.

root 1330 0.0 0.0 28364 1204 ? Ss 07:54 0:00 wpa_supplicant -B -i eth1 -c /var/lib/wicd/configurations/00xxxxxxxxxx -D wext
root 1398 0.0 0.0 0 0 ? Z 07:54 0:00 [dhclient] <defunct>
root 1419 0.0 0.0 6556 352 ? Ss 07:54 0:00 /sbin/dhclient -cf /var/lib/wicd/dhclient.conf eth1

Changed in wicd (Ubuntu):
status: New → Confirmed
Revision history for this message
Peter van Zetten (peter-vanzetten) wrote :
Download full text (4.4 KiB)

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:...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.