Re: [systemd-devel] [PATCH 1/3] nspawn: move container wait logic into wait_for_container() function

2014-05-21 Thread Lennart Poettering
On Fri, 11.04.14 01:45, Djalal Harouni (tix...@opendz.org) wrote: Move the container wait logic into its own wait_for_container() function and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED These status codes are used to terminate nspawn or loop again in case of

Re: [systemd-devel] [PATCH 1/3] nspawn: move container wait logic into wait_for_container() function

2014-04-28 Thread Djalal Harouni
On Fri, Apr 25, 2014 at 08:07:29PM +0200, Tom Gundersen wrote: On Fri, Apr 11, 2014 at 2:45 AM, Djalal Harouni tix...@opendz.org wrote: Move the container wait logic into its own wait_for_container() function and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED These

Re: [systemd-devel] [PATCH 1/3] nspawn: move container wait logic into wait_for_container() function

2014-04-25 Thread Tom Gundersen
On Fri, Apr 11, 2014 at 2:45 AM, Djalal Harouni tix...@opendz.org wrote: Move the container wait logic into its own wait_for_container() function and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED These status codes are used to terminate nspawn or loop again in case of

[systemd-devel] [PATCH 1/3] nspawn: move container wait logic into wait_for_container() function

2014-04-10 Thread Djalal Harouni
Move the container wait logic into its own wait_for_container() function and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED These status codes are used to terminate nspawn or loop again in case of CONTAINER_REBOOTED. --- src/nspawn/nspawn.c | 114