lxc-start-ephemeral stops working with kernel 3.18 - overlayfs change?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
With the previous vivid kernel 3.16.0-
$ sudo apt install lxc
$ sudo lxc-create -t busybox -n c1
# works fine under all kernels:
$ sudo lxc-start -n c1 -F
$ sudo lxc-start-ephemeral -o c1
The container 'c1-0twqb553' failed to start.
It happens with both the above busybox as well as with a full ubuntu OS container, so I don't think that's relevant.
Unfortunately lxc-start-ephemeral has no --logfile or --logpriority or similar debugging tools, and even with -k it doesn't keep a container or logs around for inspection.
dmesg might have something worth noting, look at the third line:
[ 465.694541] device vethQLD78J entered promiscuous mode
[ 465.694611] IPv6: ADDRCONF(
[ 465.726758] overlayfs: missing upperdir or lowerdir or workdir
[ 465.744501] eth0: renamed from vethWRSY7B
[ 465.745673] IPv6: ADDRCONF(
[ 465.745693] lxcbr0: port 1(vethQLD78J) entered forwarding state
[ 465.745697] lxcbr0: port 1(vethQLD78J) entered forwarding state
[ 465.746618] lxcbr0: port 1(vethQLD78J) entered disabled state
[ 465.747134] device vethQLD78J left promiscuous mode
[ 465.747140] lxcbr0: port 1(vethQLD78J) entered disabled state
So maybe overlayfs changed its semantics somehow in the new kernel?
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lxc 1.1.0~alpha3-
ProcVersionSign
Uname: Linux 3.16.0-28-generic x86_64
ApportVersion: 2.15.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jan 11 12:45:06 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-20 (52 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119)
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
lxc.conf: lxc.lxcpath = /srv/lxc
modified.
mtime.conffile.
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
Changed in lxc (Ubuntu): | |
status: | Fix Committed → Fix Released |
Adding linux tasks. This overlayfs change might be due to its upstreamization, or unintended, so please invalidate if appropriate. Thanks!