[lxc-devel] [PATCH] c/r: tell CRIU about cgproxy sockets

Tycho Andersen tycho.andersen at canonical.com
Tue Nov 17 22:21:03 UTC 2015


On Tue, Nov 17, 2015 at 01:13:40PM -0700, Tycho Andersen wrote:
> CRIU needs to be told about connections to "external" sockets (in
> particular, that it is ok to dump containers with connections to these
> sockets). Since cgproxy connects to the bind mounted socket provided by the
> lxc runtime, we should (as the runtime) also tell CRIU that this is an
> allowable external socket.
> 
> This is mostly correct in the sense that the protocol is stateless, so a
> simple reconnect should be enough to restore things. However, if cgproxy
> was in the middle of making a request that is half over the wire (or
> waiting for a response to a request), this request will fail and cgproxy
> will probably give some weird errors.

Hmm, actually drop this patch for a bit. Something is racy here and
I'm not sure what.

Tycho


More information about the lxc-devel mailing list