<div dir="ltr">During experiments with criu v1.3-rc1 on containers, I've seen the following error during checkpointing (highlights for readability):<div><br></div><div><font face="courier new, monospace">...</font></div>
<div><font face="courier new, monospace">(00.012148) Dump MNT namespace (mountpoints) 10 via 9445<br></font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(00.012232) type devpts source devpts <span style="background-color:rgb(255,255,0)">13f</span> / @ ./dev/pts flags 20000a options gid=5,mode=620,ptmxmode=666,<br>
</font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(00.012402) Dumping mountpoints</font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(00.012459) 77: <span style="background-color:rgb(255,255,0)">13f</span>:/ @ ./dev/pts</font></div>
<div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(00.012509) Error (mount.c:497): The file system <span style="background-color:rgb(255,255,0)">0x13f (0x10003f)</span> devpts ./dev/pts is inaccessible<br>
</font></div><div><br></div><div>After rebooting the machine, the dev IDs are presumably reset, have smaller values, and 'criu dump' on a similar container setup succeeds:</div><div><br></div><div><font face="courier new, monospace">...</font></div>
<div><font face="courier new, monospace">(01.460559) Dump MNT namespace (mountpoints) 10 via 1764<br></font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(01.460708) type devpts source devpts <span style="background-color:rgb(255,255,0)">24</span> / @ ./dev/pts flags 20000a options gid=5,mode=620,ptmxmode=666,<br>
</font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(01.461076) Dumping mountpoints<br></font></div><div><font face="courier new, monospace">...</font></div><div>
<font face="courier new, monospace">(01.461230) 72: <span style="background-color:rgb(255,255,0)">24</span>:/ @ ./dev/pts<br></font></div><div><font face="courier new, monospace">...</font></div><div><font face="courier new, monospace">(01.730248) Dumping finished successfully<br>
</font></div><div><br></div><div>AFAICT, 'devpts' type is handled through phys_stat_resolve_dev(), and I suspect that it doesn't correctly handle device numbers greater than 0xff. Is this a known issue?</div>
<div><br></div><div>Thanks,</div><div>Amey</div><div><br></div></div>