<div dir="ltr">Hi,<div><br></div><div style>That's up to you, I can keep them in my branch till we endup with a new monitor code or you can merge them now and they start to work with new monitor code later.</div><div style>

<br></div><div style>I'm using git to send those patches and I can easily add signed-off lines (I even don't know why they are missing as I believe I use --signoff argument) and sent it again.</div><div style><br>

</div><div style>Best,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 9:10 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Quoting S.Çağlar Onur (<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>):<br>
> From: "S.Çağlar Onur" <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>><br>
><br>
> Trying to start multiple containers concurrently may cause lxc_monitor_read_timeout to fail as select call could be interrupted by a signal, handle it.<br>
<br>
</div>Hi,<br>
<br>
so if I understand right we're waiting on this for a redesign of<br>
the monitor, right?<br>
<br>
How are you generating your patches?  Could you add a<br>
Signed-off-by automatically?<br>
<div class="im"><br>
> ---<br>
>  src/lxc/state.c |    9 +++++++--<br>
>  1 file changed, 7 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/src/lxc/state.c b/src/lxc/state.c<br>
> index 95707ac..c50ef00 100644<br>
> --- a/src/lxc/state.c<br>
> +++ b/src/lxc/state.c<br>
> @@ -230,8 +230,13 @@ extern int lxc_wait(const char *lxcname, const char *states, int timeout, const<br>
>                               goto out_close;<br>
>                       curtime = tv.tv_sec;<br>
>               }<br>
> -             if (lxc_monitor_read_timeout(fd, &msg, timeout) < 0)<br>
> -                     goto out_close;<br>
> +             if (lxc_monitor_read_timeout(fd, &msg, timeout) < 0) {<br>
> +                     /* continue if select interrupted by signal */<br>
> +                     if (errno == EINTR)<br>
> +                             continue;<br>
> +                     else<br>
> +                             goto out_close;<br>
> +             }<br>
><br>
>               if (timeout != -1) {<br>
>                       retval = gettimeofday(&tv, NULL);<br>
> --<br>
> 1.7.10.4<br>
><br>
><br>
</div>> ------------------------------------------------------------------------------<br>
> Precog is a next-generation analytics platform capable of advanced<br>
> analytics on semi-structured data. The platform includes APIs for building<br>
> apps and a phenomenal toolset for data science. Developers can use<br>
> our toolset for easy data analysis & visualization. Get a free account!<br>
> <a href="http://www2.precog.com/precogplatform/slashdotnewsletter" target="_blank">http://www2.precog.com/precogplatform/slashdotnewsletter</a><br>
> _______________________________________________<br>
> Lxc-devel mailing list<br>
> <a href="mailto:Lxc-devel@lists.sourceforge.net">Lxc-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/lxc-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>>
</div>