Re: [lxc-devel] [PATCH 1/4] lxc-init: use lxc_mainloop

2011-12-05 Thread Greg Kurz
On Sun, 2011-12-04 at 11:33 +0100, Daniel Lezcano wrote: On 11/08/2011 12:49 PM, Greg Kurz wrote: The goal here is to be able to multiplex several event sources in lxc-init. It will be a lot easier to add I/O driven features: for example, a rexec-like service to start extra commands in a

[lxc-devel] [PATCH] remove redundant LXC_TTY_HANDLER

2011-12-05 Thread J. Xiao
All the signals (except fatal ones) are redirected to signalfd at lxc_init, so the LXC_TTY_HANDLERs are redundant. This patch removes them. Signed-off-by: Jian Xiao j...@linux.vnet.ibm.com --- src/lxc/start.c |9 - src/lxc/utils.h | 29 ++--- 2 files

Re: [lxc-devel] [PATCH 1/4] lxc-init: use lxc_mainloop

2011-12-05 Thread Daniel Lezcano
On 12/05/2011 12:43 PM, Greg Kurz wrote: On Sun, 2011-12-04 at 11:33 +0100, Daniel Lezcano wrote: On 11/08/2011 12:49 PM, Greg Kurz wrote: The goal here is to be able to multiplex several event sources in lxc-init. It will be a lot easier to add I/O driven features: for example, a rexec-like