Re: [lxc-devel] [PATCH RFC] don't block signals until after we build signalfd

2013-07-02 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@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

[lxc-devel] [PATCH RFC] don't block signals until after we build signalfd

2013-07-02 Thread Serge Hallyn
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_mai