[Bug 1556175] Re: networking.service hangs on shutdown -- killing dhclient has no effect any more

Launchpad Bug Tracker 1556175 at bugs.launchpad.net
Fri Mar 18 01:58:34 UTC 2016


This bug was fixed in the package isc-dhcp - 4.3.3-5ubuntu10

---------------
isc-dhcp (4.3.3-5ubuntu10) xenial; urgency=low

  [ Stefan Bader ]
  * Revert back to bind against bind9 export libraries
    (LP: #1556175, LP: #1551351)

  [ LaMont Jones ]
  * libirs-export requires libisccfg-export now

 -- Stefan Bader <stefan.bader at canonical.com>  Thu, 17 Mar 2016 17:45:53
+0100

** Changed in: isc-dhcp (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  networking.service hangs on shutdown -- killing dhclient has no effect
  any more

Status in bind9 package in Ubuntu:
  Fix Committed
Status in isc-dhcp package in Ubuntu:
  Fix Released

Bug description:
  On current xenial, LXD containers take ages to reboot:

  lxc launch images:ubuntu/xenial/amd64 x1
  lxc exec x1 reboot

  "systemctl list-jobs" shows:

  117 networking.service         stop  running

  root at x1:~# systemctl status networking
  ● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
    Drop-In: /run/systemd/generator/networking.service.d
             └─50-insserv.conf-$network.conf
     Active: deactivating (stop-sigterm) since Fri 2016-03-11 16:03:51 UTC; 21s ago
       Docs: man:interfaces(5)
    Process: 187 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS)
    Process: 55 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
    Process: 49 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --r
   Main PID: 55 (code=exited, status=0/SUCCESS)
      Tasks: 1 (limit: 512)
     CGroup: /system.slice/networking.service
             └─146 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0

  Mar 11 16:03:52 x1 dhclient[207]: For info, please visit https://www.isc.org/software/dhcp/
  Mar 11 16:03:52 x1 dhclient[207]: 
  Mar 11 16:03:52 x1 dhclient[207]: Listening on LPF/eth0/00:16:3e:5a:f5:97
  Mar 11 16:03:52 x1 ifdown[187]: Listening on LPF/eth0/00:16:3e:5a:f5:97
  Mar 11 16:03:52 x1 ifdown[187]: Sending on   LPF/eth0/00:16:3e:5a:f5:97
  Mar 11 16:03:52 x1 ifdown[187]: Sending on   Socket/fallback
  Mar 11 16:03:52 x1 dhclient[207]: Sending on   LPF/eth0/00:16:3e:5a:f5:97
  Mar 11 16:03:52 x1 dhclient[207]: Sending on   Socket/fallback
  Mar 11 16:03:52 x1 dhclient[207]: DHCPRELEASE on eth0 to 10.0.3.1 port 67 (xid=0x6480ef2b)
  Mar 11 16:03:52 x1 ifdown[187]: DHCPRELEASE on eth0 to 10.0.3.1 port 67 (xid=0x6480ef2b)

  The above is also the last journal line that I get for the usual 90s
  timeout, then the container finally reboots.

  Not many processes are actually running any more:

  root         1  0.0  0.0  37076  5304 ?        Ss   16:03   0:00 /sbin/init
  root        38  0.0  0.0  41572  3316 ?        Ss   16:03   0:00 /lib/systemd/systemd-udevd
  root        41  0.0  0.0  35276  5668 ?        Ss   16:03   0:00 /lib/systemd/systemd-journald
  root       146  0.0  0.0 181376  2664 ?        Ss   16:03   0:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0

  but apparently the dhclient instance refuses to die (note that ifdown
  -a itself is not running any more).

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



More information about the foundations-bugs mailing list