On 10/26/2011 05:13 PM, Greg Kurz wrote: > Often people want to launch a command in an already > running container. This can be achieved with the lxc-attach > command, provided you have a patched kernel with full > setns() support. > > For those who won't rebuild a kernel, we introduce > the lxc-rexec command to be used in place of > lxc-attach. The principle is to embed a minimal > unix socket server in lxc-init that launch commands when > asked to by a lxc-rexec client. > > For the moment, this feature only works for application > containers started with lxc-execute. Some more work > would be needed to have something similar for system > containers (and by the way, system containers with network > support may rely on rsh-like services to do the trick). > > The first two patches add a mainloop and logging features > to lxc-init, and the last patch brings lxc-rexec. >
Hi Greg, I successfully applied the patches, but the compilation fails with: /home/dlezcano/work/src/lxc/src/lxc/lxc_init.c:164: undefined reference to `lxc_error_set_and_log_siginfo' /home/dlezcano/work/src/lxc/src/lxc/lxc_init.c:193: undefined reference to `lxc_error_set_and_log_siginfo' ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel