<div dir="ltr"><div dir="ltr">Say I have two programs A &amp; B, they&#39;re communicating to each other by unix domain socket, SOCK_STREAM to be concise. B as server and A is the client. A also has a mechanism that when it found connection is lost, A will try to re-connect by itself.</div><div dir="ltr"><br></div><div dir="ltr"> I&#39;d like to use CRIU dump both of them while keep them running(--leaving-running). Also restore them when system reboot(Or on another machine if possible)</div><div dir="ltr"><br></div><div>As I mentioned before, for this unix domain socket, it&#39;s totally fine to not dump it at all. Just leave it there, and after restore, A just need to re-connect to B then every is find to me.</div><div><br></div><div>Is there an option to do this?</div><div><br></div><div>I actually tried two approaches 1) write a plugin for it 2) use --external unix[ino]</div><div><br></div><div>For process A(the client), it&#39;s not a big deal. But when dumping B while keep A running, I can dump it but not restore.</div><div><br></div><div>This external socket in B is actually created by ```accept```. when A tried to connect to B(The listening socket in B is not a problem here)</div><div><br></div><div>When I restored B, with or without plugin, CRIU seems always asked to create a valid socket. otherwise it will failed. But since at this time, A is not restored yet, and A will re-connect to B anyways, I don&#39;t really need this socket.(Only the one on listening is good enough).</div><div><br></div><div>Really appreciate it if someone has an idea on this.</div><div><br></div><div><br></div><div>Thanks a lot!!!</div><div><br></div><div><br></div><div>Best,</div><div>Jun Gan</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div dir="ltr"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Jun Gan</div></div></div>