Comment 1 for bug 784093

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Just hit this as well in Natty.

$ sudo lxc-start -n lucid-test2
lxc-start: open /sys/fs/cgroup/cpu/lucid-test2/devices.deny : No such file or directory
lxc-start: failed to setup the cgroups for 'lucid-test2'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'lucid-test2'

I changed /etc/cgconfig.conf to

mount {
 cpu = /sys/fs//cgroup/cpu;
 cpuacct = /sys/fs/cgroup/cpu;
 devices = /sys/fs/cgroup/cpu;
 memory = /sys/fs/cgroup/cpu;
}

And all works as expected now.