[Lxc-users] Can't execute lxc-execute /bin/bash

Serge Hallyn serge.hallyn at canonical.com
Mon Apr 11 23:07:32 UTC 2011


Quoting Krzysztof Karwacki (krzysiek at motokirc.pl):
> Hi!
> 
> I Compiled procfs from lxc sources, but when i want to   lxc-execute –n vm0 /bin/bash I’ve got error.
> 
> root at debian:~# lxc-execute -n vm0 /bin/bash
> lxc-execute: No such file or directory - failed to exec /usr/lib/lxc/lxc-init

Does /usr/lib/lxc/lxc-init exist on the host?

When I've played with custom templates based of the ssh template, I've
had similar troubles, and I think I usually ended up trying putting
lxc-init onto the guest.

-serge




More information about the lxc-users mailing list