Package: lxc
Version: 0.8.0~rc1-8+deb7u1

Once the container (test) has been created, if i try to call
'lxc-start -n test' I get:

lxc-start: cgroup is not mounted
lxc-start: failed to setup the cgroups for 'test'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'test'

I can see my cgroup is mounted:
test on /sys/fs/cgroup type cgroup (rw,relatime,cpu,clone_children)


I've captured strace output which suggested me it could be a bug:
...
open("/dev/ptmx", O_RDWR)               = 15
open("/dev/pts/7", O_RDWR|O_NOCTTY)     = 16
open("/dev/tty", O_RDWR|O_CREAT|O_APPEND|O_CLOEXEC, 0600) = 17
open("/proc/mounts", O_RDONLY)          = 19
open("/proc/1/cgroup", O_RDONLY)        = 21
open("/sys/fs/cgroup//cgroup.clone_children",
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 21
open("/sys/fs/cgroup//lxc/test/tasks", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 21
lxc-start: cgroup is not mounted
lxc-start: failed to setup the cgroups for 'test'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'test'
open("/proc/mounts", O_RDONLY)          = 19
open("/proc/1/cgroup", O_RDONLY)        = 21
open("/sys/fs/cgroup//lxc/test", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 21
...

Im using Debian GNU/Linux testing (wheezy) kernel 3.2.0-2-amd64 and
libc6:amd64 2.13-35\

Regards


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to