Accepting request 369387 from home:tiwai:branches:devel:tools
- 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 OBS-URL: https://build.opensuse.org/request/show/369387 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=36
This commit is contained in:
parent
2a602d8800
commit
cc1523ea41
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d1d6693d23181b1cd7378d77c142e41bcac3cb2ae5c71ea4c5b7de01f65575bb
|
|
||||||
size 534200
|
|
3
criu-2.0.tar.bz2
Normal file
3
criu-2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e80726cc54f74751ae6f63a5b0cf9a2882ffc3fd2aa11b311da0384635d418ff
|
||||||
|
size 548581
|
46
criu.changes
46
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
|
Tue Dec 8 12:01:05 CET 2015 - tiwai@suse.de
|
||||||
|
|
||||||
|
15
criu.spec
15
criu.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package criu
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: criu
|
||||||
Version: 1.8
|
Version: 2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Checkpoint/Restore In Userspace Tools
|
Summary: Checkpoint/Restore In Userspace Tools
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
@ -26,10 +26,16 @@ Group: System/Console
|
|||||||
Url: http://criu.org/
|
Url: http://criu.org/
|
||||||
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
|
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
|
%if 0%{suse_version} > 1320
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: libnl3-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: protobuf-c
|
BuildRequires: protobuf-c
|
||||||
BuildRequires: protobuf-devel
|
BuildRequires: protobuf-devel
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
Requires: python-ipaddr
|
||||||
Requires: python-protobuf
|
Requires: python-protobuf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
ExclusiveArch: x86_64 aarch64 ppc64le
|
ExclusiveArch: x86_64 aarch64 ppc64le
|
||||||
@ -63,9 +69,6 @@ to develop applications with CRIU library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{package_version}
|
%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
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user