<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><br></div>
<div>Hello everyone. &nbsp;I caught an error when i was using the test for dumping/restoring an LXC container. The dumping step was all right , but the following error occurred &nbsp;in the restoring step, which could be find in the restore.log.</div><div><br></div><div><span style="font-family: &quot;" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(255,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><font color="#ff0000">(00.266862)      1: Error (tty.c:614): tty: Can't open 9 (index 0): Bad file descriptor
<br>(00.298420) Error (cr-restore.c:1037): 35921 exited, status=255
<br>(00.298463) Error (cr-restore.c:1579): Restoring FAILED.</font></span></div><div><br></div><div>My OS is <span style="">Ubuntu13.10. I have set&nbsp;</span><span style="background-color: rgb(249, 249, 249); line-height: 1.3em;">lxc.console=none&nbsp;</span><span style="background-color: rgb(249, 249, 249); line-height: 1.3em;">lxc.tty = 0 and&nbsp;</span><span style="line-height: 19.1875px; background-color: window;">removed the "lxc.cgroup.devices.allow = c 5:1 rwm" from the container config.</span></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>linuxchyu@sina.com</div></div></span></div>
</body></html>