[arch-general] libvirt / lxc : no valid cgroup for machine

arnaud gaboury arnaud.gaboury at gmail.com
Sat Feb 15 16:40:24 EST 2014


I guess my lxc container is borken:


root at hortensia ➤➤ /etc/netctl # CONFIG=/var/lib/lxc/dahlia/config
/usr/sbin/lxc-checkconfig
--- Namespaces ---
Namespaces: required
Utsname namespace: missing
Ipc namespace: required
Pid namespace: required
User namespace: missing
Network namespace: missing
Multiple /dev/pts instances: missing

--- Control groups ---
Cgroup: required
Cgroup clone_children flag: enabled
Cgroup device: missing
Cgroup sched: missing
Cgroup cpu account: missing
Cgroup memory controller: /usr/sbin/lxc-checkconfig: line 103: [: too
many arguments
missing

--- Misc ---
Veth pair device: missing
Macvlan: missing
Vlan: missing
File capabilities: /usr/sbin/lxc-checkconfig: line 118: [: -gt: unary
operator expected


and this with no config path specified (everything is green)

root at hortensia ➤➤ /etc/netctl # sudo lxc-checkconfig
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled


More information about the arch-general mailing list