[CRIU] Anyone have a plan to support dumping of stream unix connection?
Brandon Philips
brandon at ifup.co
Mon Jun 10 18:10:45 EDT 2013
> On 06/10/2013 10:34 AM, Chanho Park wrote:
> > I think many processes will use this type(SOCK_STREAM) of socket for IPC.
> > ProcessA sock(/tmp/socketA) <------> ProcessB connect(/tmp/socketA)
> > Does anyone have a plan to support the stream connection of unix socket?
>
> I agree it might worth implementing it, but we what are the use-cases? If
> you plan to dump only the process A, then you will not be able to live-migrate
> it, since unix sockets don't work across network, so what's the reason?
I hit this error because systemd hooks up stdout to a unix socket[1].
Is the correct way to handle this to close the socket and reopen it
with remote syscall execution? Is there a example elsewhere of doing
close() before a dump and then open() before a restore?
Thanks!
Brandon
[1] http://cgit.freedesktop.org/systemd/systemd/tree/src/journal/journal-send.c#n404
More information about the CRIU
mailing list