[lxc-users] Unable to boot unprivileged container
Serge Hallyn
serge.hallyn at ubuntu.com
Mon May 5 12:50:27 UTC 2014
Please show us the contents of outfile after running
lxc-start -n <container> -l info -o outfile
and show us the contaienr configuration file as well as /etc/subuid
and /etc/subgid.
-serge
Quoting Robert Pendell (shinji at elite-systems.org):
> OS: Ubuntu 14.04 LTS x86_64
> Kernel: Host-Supplied 3.14.1
> Provider: Linode
> Host Virtualization: Xen Paravirtualized
> LXC Version: 1.0.3-0ubuntu3
>
> When I attempt to boot an unprivileged container I get the error
> "lxc_container: command get_cgroup failed to receive response". This
> appears to be due to missing cgroup however it is mounted and is using
> cgmanager as was recently changed (output seen later). For
> troubleshooting I switched to the distribution supplied kernel (host
> supports pv-grub) and it does the same thing. Host has apparmor
> disabled and when I was running the distribution kernel I verified
> that apparmor was enabled and running so in this case it made no
> difference.
>
> I was able to run a privileged container even with the host-supplied
> kernel however this won't meet my individual requirements.
>
> Any assistance will be greatly appreciated.
>
> Debug output: http://pastebin.com/xLHmezLw
>
> shinji at icarus:~$ mount
> /dev/xvda on / type ext3 (rw,noatime,errors=remount-ro)
> proc on /proc type proc (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> none on /sys/fs/cgroup type tmpfs (rw)
> none on /sys/fs/fuse/connections type fusectl (rw)
> devtmpfs on /dev type devtmpfs (rw,mode=0755)
> none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
> none on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
> none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
> none on /run/shm type tmpfs (rw,nosuid,nodev)
> none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
>
> Robert Pendell
> shinji at elite-systems.org
> A perfect world is one of chaos.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list