[lxc-users] lxc-2.0.1 can't start unprivileged container

Mike Wright nobody at nospam.hostisimo.com
Thu Jun 9 19:31:44 UTC 2016


Hi all,

Environment:

   ubuntu xenial 16.04
   kernel 4.4.0-22-generic
   lxc-2.0.1
   liblxc1: Version: 2.0.1-0ubuntu1~16.04.1
   fully upgraded.

Created unprivileged container with:

   -n whitney -- -d ubuntu -r xenial -a amd64

config:
{
   lxc.id_map = u 0 100000 65536
   lxc.id_map = g 0 100000 65536

   lxc.include = /usr/share/lxc/config/ubuntu.common.conf
   lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
   lxc.arch = x86_64

   lxc.rootfs = /home/mike/.local/share/lxc/whitney/rootfs
   lxc.rootfs.backend = dir
   lxc.utsname = whitney

   lxc.network.type = veth
   lxc.network.link = LAN
   lxc.network.flags = down  ## ensure not a network err
   lxc.network.hwaddr = 00:16:3e:ef:3e:d2
}

lxc-start -n whitney fails with:

lxc-start: utils.c: safe_mount: 1692 Operation not permitted - Failed to 
mount proc onto /usr/lib/x86_64-linux-gnu/lxc/proc

Googling shows similar errors back in kernel 3.19.  Has this resurrected 
itself?

Recommendations?

Thanks,
Mike Wright


More information about the lxc-users mailing list