[CRIU] crtools can not dump unix sockets in non-root netns

Andrey Wagin avagin at gmail.com
Sat Jul 14 16:48:22 EDT 2012


# unshare -n /bin/bash

[root at dhcp-10-30-20-19 crtools]# bash test/zdtm.sh static/sockets00
Execute zdtm/live/static/sockets00
make: Entering directory `/root/crtools/test/zdtm/live/static'
rm -f -r *.pid *.out* *.test* *.state
make: Leaving directory `/root/crtools/test/zdtm/live/static'
make: Entering directory `/root/crtools/test/zdtm/live/static'
make -C ../../lib
make[1]: Entering directory `/root/crtools/test/zdtm/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/crtools/test/zdtm/lib'
./sockets00 --pidfile=sockets00.pid --outfile=sockets00.out
make: Leaving directory `/root/crtools/test/zdtm/live/static'
Dump 59995
WARNING: process sockets00 is left running for your debugging needs
Test: zdtm/live/static/sockets00
====================== ERROR ======================
Dump log   : /root/crtools/test/dump/sockets00/59995/dump.log

[root at dhcp-10-30-20-19 crtools]# cat
/root/crtools/test/dump/sockets00/59995/dump.log | grep Error
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (sockets.c:183): Can't send request message: Connection refused
Error (cr-dump.c:1300): Dump files (pid: 59995) failed with -1


More information about the CRIU mailing list