Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-27 Thread Greg Kurz
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 t

Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-26 Thread Ferenc Wagner
Daniel Lezcano writes: > On 05/13/2010 02:22 PM, Ferenc Wagner wrote: > >> I attached a proof-of-concept patch which seems to work good enough for >> me. The function names are somewhat off now, but I leave that for later > > do you have definitive version for this ? > I have some modifications

Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-26 Thread Daniel Lezcano
On 05/13/2010 02:22 PM, Ferenc Wagner wrote: [ ... ] > I attached a proof-of-concept patch which seems to work good enough for > me. The function names are somewhat off now, but I leave that for later > Ferenc, do you have definitive version for this ? I have some modifications in the star

Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-14 Thread Daniel Lezcano
On 05/13/2010 02:22 PM, Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> Ferenc Wagner wrote: >> >> >>> Daniel Lezcano writes: >>> >>> Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> Ferenc Wagner wrote: >> >

Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-13 Thread Ferenc Wagner
Daniel Lezcano writes: > Ferenc Wagner wrote: > >> Daniel Lezcano writes: >> >>> Ferenc Wagner wrote: >>> Daniel Lezcano writes: > Ferenc Wagner wrote: > >> I'd like to use lxc-start as a wrapper, invisible to the parent and >> the (jailed

Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-06 Thread Daniel Lezcano
Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> Ferenc Wagner wrote: >> >> >>> Daniel Lezcano writes: >>> >>> Ferenc Wagner wrote: > I'd like to use lxc-start as a wrapper, invisible to the parent and > the (jailed) child. Of course I c