[lxc-users] CRIU with lxc.network.type empty fails
Dietmar Maurer
dietmar at proxmox.com
Thu Aug 13 07:36:47 UTC 2015
> > (00.124429) irmap: Refresh stat for /no-such-path
> > (00.124436) Error (irmap.c:81): irmap: Can't stat /no-such-path: No such
> > file or
> > directory
> > (00.124438) Error (fsnotify.c:191): fsnotify: Can't dump that handle
> > (00.124445) ----------------------------------------
> > (00.124446) Error (cr-dump.c:1255): Dump files (pid: 3220) failed with -1
>
> Hmm, I've not seen this on vivid. Can you describe how to reproduce it
> and I'll take a look?
OK, seems to be related to dbus running inside container. Here is
a script to reproduce the bug:
----script-to-trigger-above-bug-------
#!/bin/sh
set -e
cat >cr1.config <<EOF
lxc.tty = 0
lxc.utsname = cr1
lxc.cgroup.memory.limit_in_bytes = 536870912
lxc.cgroup.memory.memsw.limit_in_bytes = 1073741824
lxc.cgroup.cpu.shares = 1024
lxc.console = none
lxc.cgroup.devices.deny = c 5:1 rwm
lxc.seccomp =
lxc.network.type = empty
EOF
# create vidid with dbus
lxc-create -n cr1 -f cr1.config -t ubuntu -- -r vivid --packages dbus
lxc-start -n cr1
sleep 5
rm -rf /tmp/cr1
lxc-checkpoint -v -D /tmp/cr1 -n cr1
echo "CHECKPOINT OK"
More information about the lxc-users
mailing list