From d93335c90422f34fb66da867831d7f6ce2c5c4b61aa66c8b155ded2435d2a878 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 26 Dec 2017 09:12:28 +0000 Subject: [PATCH] Accepting request 559519 from home:avindra - update to criu 3.7: New features * Pipes usage statistics * Run page server as non-daemon via RPC * C/R of - SO_REUSEPORT option - IPv4-mapped inet sockets - Net_prio CGroups - Overmounted shared mountpoints - Non-broken and breaking leases Improvements * Show criu and kernel versions in logs * CRIT decodes socket families, protocols and types * Much less pipes is needed for pre-dump, which is especially useful for big mem migration Bugfixes * Files in /proc/pid/map_file could be opened by non-exiting name (with 0x prefix) and it was fixed in kernel * CRIU log levels were used to configure logging for libsoccr thus breaking its logs * Overflow in various IDs caused bad image names * Compat (32bit) syscalls lost signedness in compel * Corked sockets lost cork flag * Preadv() syscall was declared with error which resulted in dump errors on 32-bit processors * Musl compilation failed * Ghost files in / dump failed * Crash when releasing context for ghost files, due to free()-ing shmalloc()-ed area * Lazy restore could receive partial page and crashed * Erroneous closing of lazy pages connection caused restore to hang * Lazy memory fetch restore could start before tasks are restored - Remove 0001-images.py-remove-shebang.patch * upstreamed in 8e45ce4905d186abafb7c20abb3b00207fefdb53 OBS-URL: https://build.opensuse.org/request/show/559519 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=78 --- 0001-images.py-remove-shebang.patch | 23 ----------------- criu-3.6.tar.bz2 | 3 --- criu-3.7.tar.bz2 | 3 +++ criu.changes | 39 +++++++++++++++++++++++++++++ criu.spec | 5 +--- 5 files changed, 43 insertions(+), 30 deletions(-) delete mode 100644 0001-images.py-remove-shebang.patch delete mode 100644 criu-3.6.tar.bz2 create mode 100644 criu-3.7.tar.bz2 diff --git a/0001-images.py-remove-shebang.patch b/0001-images.py-remove-shebang.patch deleted file mode 100644 index ff2ec57..0000000 --- a/0001-images.py-remove-shebang.patch +++ /dev/null @@ -1,23 +0,0 @@ -From aee84030f4623c468faaa90b8fc0820e39f86bda Mon Sep 17 00:00:00 2001 -From: Avindra Goolcharan -Date: Sat, 4 Nov 2017 18:46:03 -0400 -Subject: [PATCH] images.py: remove shebang - -This file is not executable directly, so it should not have the shebang. ---- - lib/py/images/images.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/lib/py/images/images.py b/lib/py/images/images.py -index bb2f383..b706fd3 100644 ---- a/lib/py/images/images.py -+++ b/lib/py/images/images.py -@@ -1,5 +1,3 @@ --#!/bin/env python2 -- - # This file contains methods to deal with criu images. - # - # According to http://criu.org/Images, criu images can be described --- -2.15.0 -Signed-off-by: Avindra Goolcharan diff --git a/criu-3.6.tar.bz2 b/criu-3.6.tar.bz2 deleted file mode 100644 index f4d1ab5..0000000 --- a/criu-3.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de1d612fdf020c34f5cb2932c88e9e330ae1e4c6547b31b81d6d9b2da7bb2ca3 -size 739437 diff --git a/criu-3.7.tar.bz2 b/criu-3.7.tar.bz2 new file mode 100644 index 0000000..56ee7ef --- /dev/null +++ b/criu-3.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d88143909dba02d8156f97a4152dc767d5f1a91b6751d4ce26434fbbeff93763 +size 749499 diff --git a/criu.changes b/criu.changes index 7592001..c6714b0 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Fri Dec 22 23:57:01 UTC 2017 - avindra@opensuse.org + +- update to criu 3.7: + New features + * Pipes usage statistics + * Run page server as non-daemon via RPC + * C/R of + - SO_REUSEPORT option + - IPv4-mapped inet sockets + - Net_prio CGroups + - Overmounted shared mountpoints + - Non-broken and breaking leases + Improvements + * Show criu and kernel versions in logs + * CRIT decodes socket families, protocols and types + * Much less pipes is needed for pre-dump, which is especially + useful for big mem migration + Bugfixes + * Files in /proc/pid/map_file could be opened by non-exiting + name (with 0x prefix) and it was fixed in kernel + * CRIU log levels were used to configure logging for libsoccr + thus breaking its logs + * Overflow in various IDs caused bad image names + * Compat (32bit) syscalls lost signedness in compel + * Corked sockets lost cork flag + * Preadv() syscall was declared with error which resulted in + dump errors on 32-bit processors + * Musl compilation failed + * Ghost files in / dump failed + * Crash when releasing context for ghost files, due to free()-ing + shmalloc()-ed area + * Lazy restore could receive partial page and crashed + * Erroneous closing of lazy pages connection caused restore to + hang + * Lazy memory fetch restore could start before tasks are restored +- Remove 0001-images.py-remove-shebang.patch + * upstreamed in 8e45ce4905d186abafb7c20abb3b00207fefdb53 + ------------------------------------------------------------------- Sun Nov 12 01:05:43 UTC 2017 - aavindraa@gmail.com diff --git a/criu.spec b/criu.spec index 554be95..adb869c 100644 --- a/criu.spec +++ b/criu.spec @@ -17,7 +17,7 @@ Name: criu -Version: 3.6 +Version: 3.7 Release: 0 Summary: Checkpoint/Restore In Userspace Tools License: GPL-2.0 @@ -25,8 +25,6 @@ Group: System/Console Url: http://criu.org/ Source0: http://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff -# PATCH-FIX-UPSTREAM 0001-images.py-remove-shebang.patch https://lists.openvz.org/pipermail/criu/2017-November/039907.html -Patch2: 0001-images.py-remove-shebang.patch BuildRequires: asciidoc BuildRequires: libcap-devel BuildRequires: libnet-devel @@ -81,7 +79,6 @@ to develop applications with CRIU library. %prep %setup -q %patch1 -p1 -%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config