[Bug 1551415] [NEW] systemctl stop networking hang / timeout

Scott Moser smoser at ubuntu.com
Mon Feb 29 20:34:25 UTC 2016


Public bug reported:

I noticed today on lxd that the latest xenial image is failing to bring down networking
$ cat /etc/cloud/build.info
  build_name: server
  serial: 20160227-141431

to reproduce:

$ lxd-images import ubuntu --alias xenial xenial --stream=daily
$ lxc launch xenial xtest
# wait a bit
$ lxc exec xtest /bin/bash

% systemctl stop networking
... long time passes ....

% 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: failed (Result: timeout) since Mon 2016-02-29 20:28:14 UTC; 5s ago
     Docs: man:interfaces(5)
  Process: 1241 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS)
  Process: 951 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
  Process: 948 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environme
 Main PID: 951 (code=exited, status=0/SUCCESS)

Feb 29 20:26:35 xtest dhclient[992]: DHCPOFFER of 10.0.3.238 from 10.0.3.1
Feb 29 20:26:35 xtest dhclient[992]: DHCPACK of 10.0.3.238 from 10.0.3.1
Feb 29 20:26:35 xtest ifup[951]: DHCPACK of 10.0.3.238 from 10.0.3.1
Feb 29 20:26:35 xtest ifup[951]: bound to 10.0.3.238 -- renewal in 1669 seconds.
Feb 29 20:26:35 xtest systemd[1]: Started Raise network interfaces.
Feb 29 20:26:44 xtest systemd[1]: Stopping Raise network interfaces...
Feb 29 20:28:14 xtest systemd[1]: networking.service: State 'stop-sigterm' timed out. Killing.
Feb 29 20:28:14 xtest systemd[1]: Stopped Raise network interfaces.
Feb 29 20:28:14 xtest systemd[1]: networking.service: Unit entered failed state.
Feb 29 20:28:14 xtest systemd[1]: networking.service: Failed with result 'timeout'.
root at xtest:~# ubuntu-bug /lib/systemd/system/networking.service

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ifupdown 0.8.10ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Mon Feb 29 20:28:28 2016
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug uec-images xenial

** Description changed:

  I noticed today on lxd that the latest xenial image is failing to bring down networking
  $ cat /etc/cloud/build.info
-   build_name: server
-   serial: 20160227-141431
+   build_name: server
+   serial: 20160227-141431
  
  to reproduce:
  
- 
  $ lxd-images import ubuntu --alias xenial xenial --stream=daily
- $ lxc launch xenial x1
+ $ lxc launch xenial xtest
  # wait a bit
- $ lxc exec x1 /bin/bash
+ $ lxc exec xtest /bin/bash
  
  % systemctl stop networking
  ... long time passes ....
  
  % 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: failed (Result: timeout) since Mon 2016-02-29 20:28:14 UTC; 5s ago
-      Docs: man:interfaces(5)
-   Process: 1241 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS)
-   Process: 951 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
-   Process: 948 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environme
-  Main PID: 951 (code=exited, status=0/SUCCESS)
+    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: failed (Result: timeout) since Mon 2016-02-29 20:28:14 UTC; 5s ago
+      Docs: man:interfaces(5)
+   Process: 1241 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS)
+   Process: 951 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
+   Process: 948 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environme
+  Main PID: 951 (code=exited, status=0/SUCCESS)
  
  Feb 29 20:26:35 xtest dhclient[992]: DHCPOFFER of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest dhclient[992]: DHCPACK of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest ifup[951]: DHCPACK of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest ifup[951]: bound to 10.0.3.238 -- renewal in 1669 seconds.
  Feb 29 20:26:35 xtest systemd[1]: Started Raise network interfaces.
  Feb 29 20:26:44 xtest systemd[1]: Stopping Raise network interfaces...
  Feb 29 20:28:14 xtest systemd[1]: networking.service: State 'stop-sigterm' timed out. Killing.
  Feb 29 20:28:14 xtest systemd[1]: Stopped Raise network interfaces.
  Feb 29 20:28:14 xtest systemd[1]: networking.service: Unit entered failed state.
  Feb 29 20:28:14 xtest systemd[1]: networking.service: Failed with result 'timeout'.
  root at xtest:~# ubuntu-bug /lib/systemd/system/networking.service
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ifupdown 0.8.10ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Mon Feb 29 20:28:28 2016
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
+  TERM=xterm-256color
+  PATH=(custom, no user)
  SourcePackage: ifupdown
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  systemctl stop networking hang / timeout

Status in ifupdown package in Ubuntu:
  New

Bug description:
  I noticed today on lxd that the latest xenial image is failing to bring down networking
  $ cat /etc/cloud/build.info
    build_name: server
    serial: 20160227-141431

  to reproduce:

  $ lxd-images import ubuntu --alias xenial xenial --stream=daily
  $ lxc launch xenial xtest
  # wait a bit
  $ lxc exec xtest /bin/bash

  % systemctl stop networking
  ... long time passes ....

  % 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: failed (Result: timeout) since Mon 2016-02-29 20:28:14 UTC; 5s ago
       Docs: man:interfaces(5)
    Process: 1241 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS)
    Process: 951 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
    Process: 948 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environme
   Main PID: 951 (code=exited, status=0/SUCCESS)

  Feb 29 20:26:35 xtest dhclient[992]: DHCPOFFER of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest dhclient[992]: DHCPACK of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest ifup[951]: DHCPACK of 10.0.3.238 from 10.0.3.1
  Feb 29 20:26:35 xtest ifup[951]: bound to 10.0.3.238 -- renewal in 1669 seconds.
  Feb 29 20:26:35 xtest systemd[1]: Started Raise network interfaces.
  Feb 29 20:26:44 xtest systemd[1]: Stopping Raise network interfaces...
  Feb 29 20:28:14 xtest systemd[1]: networking.service: State 'stop-sigterm' timed out. Killing.
  Feb 29 20:28:14 xtest systemd[1]: Stopped Raise network interfaces.
  Feb 29 20:28:14 xtest systemd[1]: networking.service: Unit entered failed state.
  Feb 29 20:28:14 xtest systemd[1]: networking.service: Failed with result 'timeout'.
  root at xtest:~# ubuntu-bug /lib/systemd/system/networking.service

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ifupdown 0.8.10ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Mon Feb 29 20:28:28 2016
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
  SourcePackage: ifupdown
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list