[lxc-devel] [PATCH RFC] don't block signals until after we build signalfd
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Jul 3 05:31:26 UTC 2013
Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> When we start a container, we first block most signals including
> sigchld, then create a signalfd fd for those signals. This leaves
> a tiny tiny window during which signals may be lost.
>
> So swap those.
>
> In theory, AFAICS this *should* fix any race with container init
> exiting before we get to lxc_mainloop(). (In practice, a race
> remains - though it remains to be seen if this is a kernel or lxc
> bug)
Ok, sorry. This cannot possibly be a problem.
Please ignore this patch.
-serge
More information about the lxc-devel
mailing list