Accepting request 247176 from devel:tools

- update to version 1.3:
  * Docker and LXC support, lots of bug fixes
- cleanup spec file, fix rpmlint warnings

- Update to version 1.3-rc2:
  * external bind mounts and tasks-to-cgroups bindings
  * many bugfixes in memory restore and mounpoints dump

- Update to version 1.3-rc1:
  New features:
  * AArch64
  * Multiple mount namespaces
  * FPU state restore control
        Restore old FPU state on newer CPUs
        Ability to ignore FPU restoration 
  * Support stopped multi-threaded tasks
  * CRIU now can execv() other binary right after restore is complete
  * Inode-revese mapping can be enforced to allow live-migration with FS copying
  * Gold linker can now be used to compile CRIU
  * "Berserker" test to check CRIU scalability
  * Punch pages from mem images on restore (optimizes live-migration) 
 Optimizations:
  * Batched deduplication of memory images
  * Packed rlimits into core image
  * Packed timers into core image 
 Fixes:
  * Bad checks for kcmp() ret codes resulted in errors in file sharing detection
  * Multiple mmap-s of same files with different flags blocked the restore
  * Integer overflow in huge mapping restore caused restoration failure
  * Devpts's newinstance option was lost during dump (forwarded request 247175 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/247176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2014-09-03 16:23:06 +00:00 committed by Git OBS Bridge
commit 17e8bdf7aa
4 changed files with 59 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ebdb544690f75c3e0f70d9af4d09f4f0d654ecea59e14abe3a5c9f536b6b413
size 335531

3
criu-1.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f86101c60e0e7c331f9d73cf99b39b7f6e164d29e9a90a76aef8ffbe33389b10
size 399311

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Tue Sep 2 07:33:29 CEST 2014 - tiwai@suse.de
- update to version 1.3:
* Docker and LXC support, lots of bug fixes
- cleanup spec file, fix rpmlint warnings
-------------------------------------------------------------------
Wed Jun 18 16:59:16 CEST 2014 - tiwai@suse.de
- Update to version 1.3-rc2:
* external bind mounts and tasks-to-cgroups bindings
* many bugfixes in memory restore and mounpoints dump
-------------------------------------------------------------------
Tue May 6 11:48:37 CEST 2014 - tiwai@suse.de
- Update to version 1.3-rc1:
New features:
* AArch64
* Multiple mount namespaces
* FPU state restore control
Restore old FPU state on newer CPUs
Ability to ignore FPU restoration
* Support stopped multi-threaded tasks
* CRIU now can execv() other binary right after restore is complete
* Inode-revese mapping can be enforced to allow live-migration with FS copying
* Gold linker can now be used to compile CRIU
* "Berserker" test to check CRIU scalability
* Punch pages from mem images on restore (optimizes live-migration)
Optimizations:
* Batched deduplication of memory images
* Packed rlimits into core image
* Packed timers into core image
Fixes:
* Bad checks for kcmp() ret codes resulted in errors in file sharing detection
* Multiple mmap-s of same files with different flags blocked the restore
* Integer overflow in huge mapping restore caused restoration failure
* Devpts's newinstance option was lost during dump
* Subsequent dump could try to find old mem dump for newly forked task
* Bad detection of overmounted mountpoints on fsnotify restore
* Page-server could read partial message and failed
* Errors in dumping of two subsequent anon vmas in some cases
* Irmap mis-compared devices for disk FS-s
* TMPFS handles always change during dump/restore
* Pre-dump sometimes hangs on FIFO-s
* Post-restore script fails too late (if does it)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 1 09:39:03 CET 2014 - tiwai@suse.de Sat Mar 1 09:39:03 CET 2014 - tiwai@suse.de

View File

@ -16,21 +16,23 @@
# #
%define package_version 1.3
Name: criu Name: criu
Version: 1.2 Version: 1.3
Release: 0 Release: 0
Summary: Checkpoint/Restore In Userspace Tools Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0 License: GPL-2.0
Group: System/Console Group: System/Console
Url: http://criu.org/ Url: http://criu.org/
Source0: http://download.openvz.org/criu/criu-%{version}.tar.bz2 Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: pkg-config
BuildRequires: protobuf-c BuildRequires: protobuf-c
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
Requires: logrotate Requires: logrotate
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 ExclusiveArch: x86_64 aarch64
%description %description
Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux
@ -60,7 +62,7 @@ This package contains all necessary include files and libraries needed
to develop applications with CRIU library. to develop applications with CRIU library.
%prep %prep
%setup -q %setup -q -n %{name}-%{package_version}
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@ -76,8 +78,6 @@ mv %{buildroot}%{_sysconfdir}/logrotate.d/criu-service \
# for compatiblity # for compatiblity
ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu %{buildroot}%{_sbindir}/crtools
ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
# fix up wrong permissions
chmod 0644 %{buildroot}%{_mandir}/man*/*
%pre %pre
%service_add_pre criu.service criu.socket %service_add_pre criu.service criu.socket
@ -105,7 +105,7 @@ exit 0
%{_sbindir}/* %{_sbindir}/*
%{_mandir}/man*/* %{_mandir}/man*/*
%{_unitdir}/criu.* %{_unitdir}/criu.*
%{_sysconfdir}/logrotate.d/* %config %{_sysconfdir}/logrotate.d/*
%files -n libcriu1 %files -n libcriu1
%defattr(-,root,root) %defattr(-,root,root)
@ -115,5 +115,6 @@ exit 0
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/criu %{_includedir}/criu
%{_libdir}/libcriu.so %{_libdir}/libcriu.so
%{_libdir}/pkgconfig/*.pc
%changelog %changelog