Jonas Fröhler

Results 14 comments of Jonas Fröhler
trafficstars

Just FYI: I'm running singularity-ce version 3.9.5, the newest one. Did the checkpointing work with older versions of singularity? Cheers.

Yeah, I heard about that. I'm doing this for my own project to get CRIU running with singularity. This issuer [here](https://github.com/checkpoint-restore/criu/issues/600) tried the same, but he found a way to...

> Other option is that your file mapping can be external (file outside of container), proper --external file[] + --inherit-fd should be provided by container environment in this case. @Snorch...

In my environment, I don't have a container manager, as I build a singularity container from scratch with a definition file and then try to checkpoint the application that I'm...

@avagin Yes, I already thought so, but for my project I want to test container dumping. So I still would like to try it that way, if it's only for...

Little update by my side, I got the dump running. I solved it like in this [issue](https://github.com/checkpoint-restore/criu/issues/600). But I'm still having a problem when restoring. After running this command: `strace...

@adrianreber Just for specifying the dump command. I used this command: `criu dump -o dump.log -v4 -t 1581 -D ./ --shell-job --ext-mount-map /etc/resolv.conf:/etc/resolv.conf --ext-mount-map /etc/hosts:/etc/hosts --ext-mount-map /etc/hostname:/etc/hostname --ext-mount-map /var/tmp:/var/tmp --ext-mount-map...

@adrianreber I tried your approach to set the ext-mount -map as before in dumping. First i shortended the dump command as some of the external mounts were not needed. `criu...

Here it is: `205 152 0:44 / / rw,nodev,relatime unbindable - overlay overlay ro,seclabel,lowerdir=/usr/local/var/singularity/mnt/session/overlay-lowerdir:/usr/local/var/singularity/mnt/session/rootfs 209 205 0:5 / /dev rw,nosuid master:107 - devtmpfs devtmpfs rw,seclabel,size=495600k,nr_inodes=123900,mode=755 210 209 0:18 / /dev/shm...

I used this command with restore: --ext-mount-map /usr/share/zoneinfo/UTC:/usr/share/zoneinfo/Europe/Berlin But still a problem: `1268 write(4, "(00.014159) 1268: mnt: \tBind /usr/share/zoneinfo/Europe/Berlin to /tmp/.criu.mntns.CND5wH/9-0000000000/usr/share/zoneinfo/UTC\n", 128) = 128 1268 mount("/usr/share/zoneinfo/Europe/Berlin", "/tmp/.criu.mntns.CND5wH/9-0000000000/usr/share/zoneinfo/UTC", NULL, MS_BIND, NULL)...