diff --git a/criu-1.8.tar.bz2 b/criu-1.8.tar.bz2 deleted file mode 100644 index e231999..0000000 --- a/criu-1.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1d6693d23181b1cd7378d77c142e41bcac3cb2ae5c71ea4c5b7de01f65575bb -size 534200 diff --git a/criu-2.0.tar.bz2 b/criu-2.0.tar.bz2 new file mode 100644 index 0000000..e0b55cc --- /dev/null +++ b/criu-2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e80726cc54f74751ae6f63a5b0cf9a2882ffc3fd2aa11b311da0384635d418ff +size 548581 diff --git a/criu.changes b/criu.changes index e959b5e..d28546f 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Mar 9 20:43:04 CET 2016 - tiwai@suse.de + +- Update to criu 2.0: + New features: + * New code layout for sub-projects (e.g. Compel) + * Unprivileged dump + * Dump/check cpuinfo support for PPC + * Explorers for CRIT + * Added "post-setup-namespaces" to action scripts + * Added timeout for dump procedure (5 sec by default) + * Ability to override LSM profile on restore with CLI/RPC option + * External bind mounts can be fs-root mounts too + * Skip netns' internals on dump and restore (for Docker integration) + * Advanced support for external files + * More C/R supports + Optimizations/improvements: + * Align parasite stack on 16 bits for correctness + * Compilation with native libc syscall wrappers and helpers + * Parasite code injection done via memfd system call + * Make vaddr to pfn conversion with one less syscall + * CRIT shows device numbers in "maj:min" manner + * CRIT shows mmap's status in verbose + * Docker files for builds on all supported arches + Fixes: + * Absent readlink syscall on ARM (use readlinkat instead) could cause dump to fail + * Wrong argument to timer_create system call could cause restore to crash + * Extra tasks in freeze cgroup caused dump to fail/hand/crash + * Unaligned restore-time object allocations caused lock operations to fail + * Opened /proc/pid dir of dead task failed the dump + * Unaligned stacks caused criu to fail on aarch64 + * Changed device numbers on restore side could cause random failures + * Fixes in mount points sharing/slavery/propagation restore + * Race between mntns creation and fds closing in different tasks could cause restore to fail + * Hard kernel limit on TCP repair recv queue restore could cause big queue restore to fail + * Unconnected dgram UNIX socket with data lost packets on restore + * CRIT didn't show IPC objects + * CRIT didn't convert IP addresses in images + * Logs from PIE code contained corrupted addresses and sizes + * Not loaded netfilter modules could cause dump/restore to stuck on dumping netlink socket + * Shared external mounts were restored with error + Security: + * When checking for namespaces' CRIU entered userns with host creds + * Deprecated/removed: + * Completely removed 'show' action. Use CRIT instead. + ------------------------------------------------------------------- Tue Dec 8 12:01:05 CET 2015 - tiwai@suse.de diff --git a/criu.spec b/criu.spec index 9be7ce4..cbde8ac 100644 --- a/criu.spec +++ b/criu.spec @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define package_version 1.8 +%define package_version 2.0 Name: criu -Version: 1.8 +Version: 2.0 Release: 0 Summary: Checkpoint/Restore In Userspace Tools License: GPL-2.0 @@ -26,10 +26,16 @@ Group: System/Console Url: http://criu.org/ Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 BuildRequires: asciidoc +%if 0%{suse_version} > 1320 +BuildRequires: libbsd-devel +%endif +BuildRequires: libcap-devel +BuildRequires: libnl3-devel BuildRequires: pkg-config BuildRequires: protobuf-c BuildRequires: protobuf-devel BuildRequires: xmlto +Requires: python-ipaddr Requires: python-protobuf BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 aarch64 ppc64le @@ -63,9 +69,6 @@ to develop applications with CRIU library. %prep %setup -q -n %{name}-%{package_version} -# fix up the broken protobuf descriptor.proto (comment-in-comment) -rm -f protobuf/google/protobuf/descriptor.proto -sed -e's@/\*@@g' -e's@\*/@@g' /usr/include/google/protobuf/descriptor.proto > protobuf/google/protobuf/descriptor.proto %build export CFLAGS="%{optflags}"