<div dir="ltr">i work with the last version <a href="http://criu.org/Main_Page">http://criu.org/Main_Page</a> 1.3.1<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-07 17:01 GMT+01:00 Tycho Andersen <span dir="ltr"><<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Oct 07, 2014 at 04:53:50PM +0100, Thouraya TH wrote:<br>
> i have done:<br>
> # This derives from the global common config<br>
> lxc.include = /usr/share/lxc/config/common.conf<br>
><br>
> # Default mount entries<br>
> lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0<br>
> lxc.mount.entry = sysfs sys sysfs defaults 0 0<br>
> #lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none<br>
> bind,optional 0 0<br>
> #lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0<br>
> #lxc.mount.entry = /sys/kernel/security sys/kernel/security none<br>
> bind,optional 0 0<br>
> #lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0<br>
> #lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br>
><br>
> dump.log<br>
> Warn (fsnotify.c:183): fsnotify: Handle 800001:60a0d cannot be opened<br>
> Warn (fsnotify.c:183): fsnotify: Handle 800001:6511a cannot be opened<br>
> Error (files-reg.c:455): Can't link remap to /proc/38/mountinfo: No such<br>
> file or directory<br>
<br>
</span>Which version of criu are you using? I think you'll need the<br>
development version to fix this.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tycho<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Error (cr-dump.c:1603): Dump files (pid: 2473) failed with -1<br>
> Error (cr-dump.c:1953): Dumping FAILED.<br>
><br>
> 2014-10-07 16:41 GMT+01:00 Andrey Vagin <<a href="mailto:avagin@parallels.com">avagin@parallels.com</a>>:<br>
><br>
> > On Tue, Oct 07, 2014 at 04:32:34PM +0100, Thouraya TH wrote:<br>
> > > what i have done exactly:<br>
> > ><br>
> > > root@thouraya-Lenovo-3000-N500:~# vim<br>
> > /usr/share/lxc/config/ubuntu.common.conf<br>
> > ><br>
> > > # This derives from the global common config<br>
> > > lxc.include = /usr/share/lxc/config/common.conf<br>
> > ><br>
> > > # Default mount entries<br>
> > > lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0<br>
> > > lxc.mount.entry = sysfs sys sysfs defaults 0 0<br>
> > > lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none<br>
> > > bind,optional 0 0<br>
> > > lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional<br>
> > 0 0<br>
> > > lxc.mount.entry = /sys/kernel/security sys/kernel/security none<br>
> > bind,optional 0<br>
> > > 0<br>
> > > #lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0<br>
> > > lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br>
> ><br>
> > Could you comment out all lines here except proc and sysfs?<br>
> ><br>
> > ><br>
> > > ...<br>
> > ><br>
> > > root@thouraya-Lenovo-3000-N500:~# lxc-checkpoint -s -D<br>
> > /home/thouraya/lxcCR -n<br>
> > > u1<br>
> > > Checkpointing u1 failed.<br>
> > ><br>
> > > dump.log:<br>
> > > Warn (fsnotify.c:183): fsnotify: Handle 800001:60a0d cannot be<br>
> > opened<br>
> > > Warn (fsnotify.c:183): fsnotify: Handle 800001:6511a cannot be<br>
> > opened<br>
> > > Error (parasite-syscall.c:387): si_code=4 si_pid=2886 si_status=5<br>
> > > Error (parasite-syscall.c:387): si_code=4 si_pid=2887 si_status=5<br>
> > > Error (parasite-syscall.c:387): si_code=4 si_pid=2888 si_status=5<br>
> > > Error (mount.c:448): 75:./sys/fs/pstore doesn't have a proper root mount<br>
> > > Error (cr-dump.c:1953): Dumping FAILED.<br>
> > ><br>
> > ><br>
> > > i have to mount pstore ?<br>
> > > > As you know i have already done this:<br>
> > > ><br>
> > > > root@u1:/# sudo umount /sys/fs/pstore<br>
> > > > root@u1:/# vim /etc/fstab<br>
> > > > root@u1:/# vim /etc/fstab<br>
> > > ><br>
> > > > i have only this line in the file:<br>
> > > > -- > # UNCONFIGURED FSTAB FOR BASE SYSTEM<br>
> > > ><br>
> > > > root@u1:/# rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> > accordée<br>
> > > > root@u1:/# sudo rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> > accordée<br>
> > > > root@u1:/# sudo su<br>
> > > > root@u1:/# rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»: Permission non<br>
> > accordée<br>
> > > > root@u1:/#<br>
> > ><br>
> > > Bests.<br>
> > ><br>
> > ><br>
> > > 2014-10-07 16:17 GMT+01:00 Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>>:<br>
> > ><br>
> > > i'm sorry, i will try not in the container :(<br>
> > ><br>
> > > 2014-10-07 16:15 GMT+01:00 Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>>:<br>
> > ><br>
> > > Inside the container:<br>
> > > root@u1:/# sudo umount /sys/fs/fuse/connections<br>
> > > root@u1:/#<br>
> > ><br>
> > > root@u1:/# cd /usr/share/lxc/config/<br>
> > > bash: cd: /usr/share/lxc/config/: Aucun fichier ou dossier de ce<br>
> > type<br>
> > > root@u1:/# cat /usr/share/lxc/config/ubuntu.common.conf<br>
> > > cat: /usr/share/lxc/config/ubuntu.common.conf: Aucun fichier ou<br>
> > dossier<br>
> > > de ce type<br>
> > ><br>
> > > ?<br>
> > ><br>
> > > 2014-10-07 15:49 GMT+01:00 Serge Hallyn <<a href="mailto:serge.hallyn@ubuntu.com">serge.hallyn@ubuntu.com</a><br>
> > >:<br>
> > ><br>
> > > Quoting Thouraya TH (<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>):<br>
> > > > root@u1:/# sudo umount /sys/fs/fuse/<br>
> > > > umount : /sys/fs/fuse/ : n'est pas monté<br>
> > > ><br>
> > > > !!<br>
> > > > it doesn't work<br>
> > > ><br>
> > > > As you know i have already done this:<br>
> > > ><br>
> > > > root@u1:/# sudo umount /sys/fs/pstore<br>
> > > > root@u1:/# vim /etc/fstab<br>
> > > > root@u1:/# vim /etc/fstab<br>
> > > ><br>
> > > > i have only this line in the file:<br>
> > > > -- > # UNCONFIGURED FSTAB FOR BASE SYSTEM<br>
> > > ><br>
> > > > root@u1:/# rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»:<br>
> > Permission non<br>
> > > accordée<br>
> > > > root@u1:/# sudo rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»:<br>
> > Permission non<br>
> > > accordée<br>
> > > > root@u1:/# sudo su<br>
> > > > root@u1:/# rmdir /sys/fs/pstore<br>
> > > > rmdir: échec de suppression de «/sys/fs/pstore»:<br>
> > Permission non<br>
> > > accordée<br>
> > > > root@u1:/#<br>
> > ><br>
> > > Ok I don't know whether you're having a problem with pstore<br>
> > at c/r<br>
> > > or<br>
> > > not as that seems unrelated to the fuse gorp, but if you are<br>
> > having<br>
> > > a<br>
> > > problem with pstore, then<br>
> > ><br>
> > > Edit /usr/share/lxc/config/ubuntu.common.conf, comment out<br>
> > ><br>
> > > lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none<br>
> > bind,optional 0<br>
> > > 0<br>
> > ><br>
> > > and add<br>
> > ><br>
> > > lxc.mount.entry = tmpfs /sys/fs/pstore none bind,optional 0 0<br>
> > ><br>
> > > That should keep mountall from trying to mount pstore.<br>
> > ><br>
> > > I think what you really want to do is teach criu to simply<br>
> > mark<br>
> > > that pstore<br>
> > > was mounted, then simply bind-mount it from the host again at<br>
> > > restart.<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
</div></div></blockquote></div><br></div>