systemctl stop networking hang / timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
I noticed today on lxd that the latest xenial image is failing to bring down networking
$ cat /etc/cloud/
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/
Drop-In: /run/systemd/
Active: failed (Result: timeout) since Mon 2016-02-29 20:28:14 UTC; 5s ago
Docs: man:interfaces(5)
Process: 1241 ExecStop=
Process: 951 ExecStart=
Process: 948 ExecStartPre=
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@xtest:~# ubuntu-bug /lib/systemd/
Related bugs:
* bug 1551351: dhclient does not renew leases
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ifupdown 0.8.10ubuntu1
ProcVersionSign
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-
PATH=(custom, no user)
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in ifupdown (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
it does reproduce after that with simply:
% systemctl start networking
% systemctl stop networking