[lxc-devel] [PATCH 0/5] Signal stuff v2 and some documentation

Daniel Lezcano daniel.lezcano at free.fr
Thu Jun 10 15:42:52 UTC 2010


On 06/09/2010 07:56 PM, Ferenc Wagner wrote:
> Hi,
>
> here are basically the same patches, with some obvious errors corrected
> and some unrelated documentation added.  It actually survived some
> targeted testing in the past days and seems to behave as expected, ie.
>
> # lxc-start -n s -- sh -c "trap 'echo TERM' TERM; sleep 10"
>
> can be interrupted by Ctrl-C from the terminal (the sleep process does
> not ignore the SIGINT sent to the foreground process group by the OS),
> while a
>
> # pkill lxc-start
>
> does not terminate the sleep as the SIGTERM gets forwarded to the shell
> only, which reports it after the sleep expires.  This forwarding
> mechanism makes it possible to plug lxc into our batch queueing system.
>    

Hi,

The patchset looks good to me, but while playing with it and I noticed 
it breaks the console when lxc.console=$(tty). The lxc-start process 
behave strangely (I suppose we receive a SIGTTOU or something similar).

I will look later what is going on.

Thanks
   -- Daniel




More information about the lxc-devel mailing list