[Pkg-utopia-maintainers] Bug#788857: /usr/sbin/NetworkManager: waits for (zombie) dhclient processes

Ph. Marek philipp.marek at linbit.com
Mon Jun 15 16:51:20 UTC 2015


Package: network-manager
Version: 1.0.2-2
Severity: normal
File: /usr/sbin/NetworkManager

When doing suspend/resume cycles that switch the network connection (eth0 
to wlan0 or usb0), NetworkManager still has the dhclient process that it 
spawned earlier on - which is a zombie already.

    11240 ?        Ssl    0:23 /usr/sbin/NetworkManager --no-daemon
     9502 ?        Z      0:00  \_ [dhclient] <defunct>

As long as NetworkManager is blocked, no new network connection gets 
established - and clients like the KDE widgets also hang, therefore 
blocking eg. the screen saver lock and suspend cycle when the laptop is 
simply closed...


The event order is typically
   * suspend (to ram),
   * disconnect eth0,
   * later on resume
   * and then the above situation is present.


Sometimes it's just not reaping the process, but starting a new dhclient:

    17544 ?        Ssl    0:01 /usr/sbin/NetworkManager --no-daemon
    20135 ?        Z      0:00  \_ [dhclient] <defunct>
    23232 ?        S      0:00  \_ /sbin/dhclient -d -q -sf /usr/...


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.8.18-1
ii  init-system-helpers    1.23
ii  isc-dhcp-client        4.3.2-1
ii  libbluetooth3          5.23-2+b1
ii  libc6                  2.19-18
ii  libdbus-1-3            1.8.18-1
ii  libdbus-glib-1-2       0.102-1
ii  libgcrypt20            1.6.3-2
ii  libglib2.0-0           2.44.1-1
ii  libgnutls-deb0-28      3.3.15-5
ii  libgudev-1.0-0         230-1
ii  libmm-glib0            1.4.8-1
ii  libndp0                1.4-2
ii  libnewt0.52            0.52.17-1+b1
ii  libnl-3-200            3.2.24-2
ii  libnl-genl-3-200       3.2.24-2
ii  libnl-route-3-200      3.2.24-2
ii  libnm0                 1.0.2-2
ii  libpam-systemd         215-18
ii  libpolkit-agent-1-0    0.105-8
ii  libpolkit-gobject-1-0  0.105-8
ii  libreadline6           6.3-8+b3
ii  libsoup2.4-1           2.50.0-2
ii  libsystemd0            215-18
ii  libteamdctl0           1.17-1
ii  libuuid1               2.26.2-6
ii  lsb-base               4.1+Debian13+nmu1
ii  policykit-1            0.105-8
ii  udev                   220-6
ii  wpasupplicant          2.3-2

Versions of packages network-manager recommends:
ii  crda            3.13-1
ii  dnsmasq-base    2.72-3.1+b1
ii  iptables        1.4.21-2+b1
pn  iputils-arping  <none>
ii  modemmanager    1.4.8-1
ii  ppp             2.4.6-3.1

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-5
pn  libteam-utils  <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
no-auto-default=78:2b:cb:d0:c1:1c,aa:00:04:00:0a:04,2A:1B:DE:41:1E:9C,
[ifupdown]
managed=false


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list