vivid container's networking.service fails on boot with signal=PIPE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
When starting a Vivid container, it fails to get an IP address. It believes networking.service was successful, but actually it dies with SIGPIPE. Restarting networking.service gets an IP, as expected.
Starting networking used to work with pre-vivid containers. I'm reasonably sure this fails 100% of the time. Limited user container, very standard setup (no unnecessary config; cgmanager and lxcfs installed), btrfs filesystem but not btrfs-backed (as it's limited user), ...
root@vivid:/# systemctl status networking.service
● networking.service - LSB: Raise network interfaces.
Loaded: loaded (/etc/init.
Drop-In: /run/systemd/
Active: active (exited) since Thu 2015-05-07 07:54:48 UTC; 9s ago
Docs: man:systemd-
Process: 459 ExecStart=
root@vivid:/# systemctl restart networking.service
root@vivid:/# systemctl status networking.service
● networking.service - LSB: Raise network interfaces.
Loaded: loaded (/etc/init.
Drop-In: /run/systemd/
Active: active (running) since Thu 2015-05-07 07:56:38 UTC; 2s ago
Docs: man:systemd-
Process: 992 ExecStop=
Process: 1033 ExecStart=
CGroup: /user.slice/
├─1096 dhclient -1 -v -pf /run/dhclient.
├─1106 /bin/sh /etc/network/
├─1109 lockfile-touch /var/lock/
├─1125 /bin/sh /etc/network/
├─1128 lockfile-create /var/lock/
└─1146 /usr/sbin/ntpdate -s ntp.ubuntu.com
root@vivid:/# ip a
...
22: eth0: <BROADCAST,
...
inet 10.0.3.102/24 brd 10.0.3.255 scope global eth0
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lxc 1.1.2-0ubuntu3
ProcVersionSign
Uname: Linux 3.19.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Thu May 7 08:53:02 2015
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu): | |
status: | Confirmed → Won't Fix |
Does the workaround mentioned in https:/ /lists. linuxcontainers .org/pipermail/ lxc-users/ 2015-May/ 009098. html work for you?