<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I&#39;m using CRIU to checkpoint and restore redis, which has a redis-cli connected to it via a unix domain socket. I cannot just use --ext-unix-sk as it sets socket type to STREAM. Here is the command I used for dump:</div><div><br></div><div>criu dump -t 23253 -D criu_imgs/ -o dump.log --shell-job -v4 --external unix[2940132]<br></div><div><br></div><div>And here is the command I used for restore:</div><div><br></div><div>criu restore -D criu_imgs/ -o restore_.log --shell-job -v4 --ext-unix-sk --tcp-close<br></div><div><br></div><div>Then I found I got segv in the restore log:</div><div><br></div><div><div>(00.014810)  23253: unix: Opening standalone (stage 0 id 0x10 ino 2940132 peer 2940131)</div><div>(00.014823)  23253:             Create fd for 8</div><div>(00.014826)  23253: unix: Opening standalone (stage 1 id 0x10 ino 2940132 peer 2940131)</div><div>(00.014829)  23253: unix:       Connect 2940132 to 2940131</div><div>(00.015683) Error (criu/cr-restore.c:1417): 23253 killed by signal 11: Segmentation fault</div><div>(00.015780) Error (criu/cr-restore.c:2293): Restoring FAILED.</div></div><div><br></div><div><br></div><div>Checking the code, I found that CRIU will still try to restore this socket by connecting it back to the original peer, which may not be available anymore. Is there any option to let criu bypass restoring this socket and leave it close just like &quot;--tcp-close&quot; ? In my case, I don&#39;t need it anymore, and can just ask the client to re-connect.</div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature">Jun Gan</div></div></div></div></div></div>