Comment 0 for bug 981955

Revision history for this message
Robert Collins (lifeless) wrote : lxc-execute does not seem to work in precise

per http://www.techrepublic.com/blog/opensource/introducing-linux-virtual-containers-with-lxc/1289

a minimal trival lxc should be doable as

lxc-execute -n test /bin/bash

but on my precise laptop this results in:

sudo lxc-execute -n test /bin/bash
lxc-execute: Invalid argument - failed to get real path for '(null)'
lxc-execute: failed to pin the container's rootfs
lxc-execute: failed to spawn 'test'
lxc-execute: No such file or directory - failed to remove cgroup '/sys/fs/cgroup/cpuset//lxc/test'