Re: [systemd-devel] [RFC] nspawn: make nspawn robust to container failure

2014-05-24 Thread Djalal Harouni
On Thu, May 22, 2014 at 02:52:08AM +0200, Lennart Poettering wrote: > On Fri, 02.05.14 16:45, Djalal Harouni (tix...@opendz.org) wrote: > > > nspawn and the container child use eventfd to wait and notify each other > > that they are ready so the container setup can be completed. > > Looks good, b

Re: [systemd-devel] [RFC] nspawn: make nspawn robust to container failure

2014-05-21 Thread Lennart Poettering
On Fri, 02.05.14 16:45, Djalal Harouni (tix...@opendz.org) wrote: > nspawn and the container child use eventfd to wait and notify each other > that they are ready so the container setup can be completed. Looks good, but doesn't apply anymore, could you rebase please? Sorry for the delay in revie

[systemd-devel] [RFC] nspawn: make nspawn robust to container failure

2014-05-02 Thread Djalal Harouni
nspawn and the container child use eventfd to wait and notify each other that they are ready so the container setup can be completed. However in its current form the wait/notify event ignore errors that may especially affect the child (container). On errors the child will jump to the "child_fail"