On Tue, 2011-04-12 at 12:11 +0100, Justin Cormack wrote: > On Mon, 2011-04-11 at 18:07 -0500, Serge Hallyn wrote: > > Quoting Krzysztof Karwacki (krzys...@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@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. > > You dont need lxc-init on the guest. It is executed before setting the > filesystem namespace. Looks like /usr/lib/lxc/lxc-init is not > installed/installed in the wrong place (or wrong permissions?).
Sorry thats completely untrue. I forgot I was bind mounting /lib and /usr/lib so it was just there, and just ran into the same error when I didnt. You *do* need /usr/lib/lxc/lxc-init (and the libraries it needs) inside your guest. Justin ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users