On Thu, 2010-05-13 at 14:22 +0200, Ferenc Wagner wrote: > I'd say we should setpgrp the container init, forward all signals we > can to it, and have a configuration option for the set of signals > which > should be forwarded to the full process group of the container init. > Or does it make sense to swallow anything? >
That makes sense to setpgrp() in the container init if you also tcsetpgrp(). This way, the appropriate process group is registered in the tty driver. No need for lxc-start to forward tty based signals. -- Gregory Kurz gk...@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility for yourself." Alan Moore. ------------------------------------------------------------------------------ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel