Can not start unprivileged container on host with Xen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Seth Forshee |
Bug Description
With a minimum server install of including (zfs, xen-hypervisor-
When I create a privileged container - it works fine.
When I create an unprivileged container - it won't start with
# lxc info --show-log test | grep ERROR
lxc 20160822115926.073 ERROR lxc_utils - utils.c:
lxc 20160822115926.073 ERROR lxc_conf - conf.c:
lxc 20160822115926.073 ERROR lxc_conf - conf.c:
lxc 20160822115926.073 ERROR lxc_start - start.c:
lxc 20160822115926.073 ERROR lxc_sync - sync.c:
lxc 20160822115926.073 ERROR lxc_start - start.c:
# uname -a
Linux xen 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Tool versions
# apt-cache policy zfsutils-linux
zfsutils-linux:
Installed: 0.6.5.6-0ubuntu12
Candidate: 0.6.5.6-0ubuntu12
Version table:
*** 0.6.5.6-0ubuntu12 500
500 http://
100 /var/lib/
0.
500 http://
# apt-cache policy xen-hypervisor-
xen-hypervisor-
Installed: 4.6.0-1ubuntu4.1
Candidate: 4.6.0-1ubuntu4.1
Version table:
*** 4.6.0-1ubuntu4.1 500
500 http://
500 http://
100 /var/lib/
4.6.0-1ubuntu4 500
500 http://
# apt-cache policy nfs-common
nfs-common:
Installed: 1:1.2.8-9ubuntu12
Candidate: 1:1.2.8-9ubuntu12
Version table:
*** 1:1.2.8-9ubuntu12 500
500 http://
100 /var/lib/
# apt-cache policy lxd
lxd:
Installed: 2.0.3-0ubuntu1~
Candidate: 2.0.3-0ubuntu1~
Version table:
*** 2.0.3-0ubuntu1~
500 http://
100 /var/lib/
2.
500 http://
2.0.0-0ubuntu4 500
500 http://
I've another system, which is very similar but without Xen installed, which doesn't have the same issue with creating unprivileged containers. It would seem that it is probably some clash between the two (also suggested in http://
This is a kernel bug which sforshee has been working on. It should be included in the next round of kernel updates.