exceedhl/toft — Issue #3: open /sys/fs/cgroup/systemd/n1/devices.deny : No such file or directory
Author: SeyZ
Created: 2012-03-05 10:22:12+00:00
State: open

On fedora 16, I can't create a centos6 lxc. How can I fix that ?

# lxc-create -n n1 -f /tmp/n1.conf -t centos-6
Creating centos-6 node...
Checking image cache in /var/cache/lxc/rootfs-i386 ...
Extracting rootfs image to /var/lib/lxc/n1/rootfs ...
Set root password to 'root'
'centos-6' template installed
'n1' created
# lxc-start -n n1
lxc-start: open /sys/fs/cgroup/systemd/n1/devices.deny : No such file or directory
lxc-start: failed to setup the cgroups for 'n1'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'n1