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 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel