From ab4715ca7ff4c41c4dda92c086ba6e905e2e7012109e29f503421d218d3b5141 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 14 Nov 2016 21:08:37 +0000 Subject: [PATCH] Accepting request 440284 from home:tiwai:branches:devel:tools - Update to criu 2.8: New features: * Ability to configure CRIU build * Show statistics on the screen with --display-stats * C/R of Mac-Vlan devices Optimizations/improvements: * x86 can now be built with clang * When dumping files useless garbage was sent with descriptors from parasite * The clear_tid_address and regs are printed in hex with CRIT * Big code rework for compel (part 1) * Removed duplicate error messages from opening /proc files Fixes: * Restoring cgroup NS could use old path prefix * criu check crashed on btrfs mounts * RO external mounts in userns couldn't be restored * Unmounted on host binfmt_misc could cause dump to fail * Off-by-one could cause criu crash when dumping shared / bind-mount * Mount namespace' roots could have flags changed on restore * Dying tasks could erroneously be tried to dump * Swapped shared memory pages were not dumped * Errno value can be sometimes spoiled by RPC * Restore of netns with newer iproute2 tool could fail Deprecated: * --ext-unix-sk, --veth-pair and --ext-mount-map, by --external - Set BINFMT_MISC_VIRTUALIZED config to build OBS-URL: https://build.opensuse.org/request/show/440284 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=52 --- criu-2.7.tar.bz2 | 3 --- criu-2.8.tar.bz2 | 3 +++ criu.changes | 30 ++++++++++++++++++++++++++++++ criu.spec | 4 +++- 4 files changed, 36 insertions(+), 4 deletions(-) delete mode 100644 criu-2.7.tar.bz2 create mode 100644 criu-2.8.tar.bz2 diff --git a/criu-2.7.tar.bz2 b/criu-2.7.tar.bz2 deleted file mode 100644 index b33bc75..0000000 --- a/criu-2.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9aae64a4d2a6e881225ec14a00527aef228171a11227034b6322c126c2ece04 -size 618653 diff --git a/criu-2.8.tar.bz2 b/criu-2.8.tar.bz2 new file mode 100644 index 0000000..5960ce1 --- /dev/null +++ b/criu-2.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54d77ee2bd31fb900395eeeda8cd653b334dbeb6594f3c3220d8c9e9f55d21f6 +size 623257 diff --git a/criu.changes b/criu.changes index d0d01a1..f270b87 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Mon Nov 14 16:28:06 CET 2016 - tiwai@suse.de + +- Update to criu 2.8: + New features: + * Ability to configure CRIU build + * Show statistics on the screen with --display-stats + * C/R of Mac-Vlan devices + Optimizations/improvements: + * x86 can now be built with clang + * When dumping files useless garbage was sent with descriptors from + parasite + * The clear_tid_address and regs are printed in hex with CRIT + * Big code rework for compel (part 1) + * Removed duplicate error messages from opening /proc files + Fixes: + * Restoring cgroup NS could use old path prefix + * criu check crashed on btrfs mounts + * RO external mounts in userns couldn't be restored + * Unmounted on host binfmt_misc could cause dump to fail + * Off-by-one could cause criu crash when dumping shared / bind-mount + * Mount namespace' roots could have flags changed on restore + * Dying tasks could erroneously be tried to dump + * Swapped shared memory pages were not dumped + * Errno value can be sometimes spoiled by RPC + * Restore of netns with newer iproute2 tool could fail + Deprecated: + * --ext-unix-sk, --veth-pair and --ext-mount-map, by --external +- Set BINFMT_MISC_VIRTUALIZED config to build + ------------------------------------------------------------------- Tue Oct 18 17:40:14 CEST 2016 - tiwai@suse.de diff --git a/criu.spec b/criu.spec index 7a80ad7..3542857 100644 --- a/criu.spec +++ b/criu.spec @@ -17,7 +17,7 @@ Name: criu -Version: 2.7 +Version: 2.8 Release: 0 Summary: Checkpoint/Restore In Userspace Tools License: GPL-2.0 @@ -68,6 +68,8 @@ to develop applications with CRIU library. %prep %setup -q +# default off +echo "BINFMT_MISC_VIRTUALIZED" > .config %build export CFLAGS="%{optflags}"