[Lxc-users] [lxc-execute] failed to spawn error

Serge Hallyn serge.hallyn at canonical.com
Tue Apr 10 13:45:07 UTC 2012


Quoting 이재광 (nothings87 at gmail.com):
> Hello
> 
> I'm porting lxc on my mips32 board.
> 
> I ported lxc and created container successfully(In my opinion...).
> 
> but when I run lxc-execute command, I've got error "failed to spawn
> [container name]"

lxc-execute tends to be harder to use anywhere, could you start with
lxc-start?  If that fails, then please do

lxc-start -n test -l DEBUG -o debug.out

and send us debug.out.

> how can i fix this error?
> 
> I modified functions and macros involved with utmpx.h because my uclibc
> doesn't support utmpx.h.
> 
> So I changed those functions to utmp.h
> 
> and I mount cgroup file system and run lxc-create -n test.

Can you show us the template you used?

> at last I run lxc-execute -n test /bin/sh and error's coming
> 
> help me please
> 
> I'm using lxc-0.7.5 and linux kernel 2.6.37(not distribution)

What does 'lxc-checkconfig' show you?

What init system are you using on the host, and what are you using in
the container?

-serge




More information about the lxc-users mailing list