commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2020-09-23 18:48:07 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.4249 (New) Package is "criu" Wed Sep 23 18:48:07 2020 rev:49 rq:836307 version:3.14 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2020-05-23 17:28:46.543581321 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new.4249/criu.changes 2020-09-23 18:48:52.313788935 +0200 @@ -1,0 +2,5 @@ +Wed Sep 23 12:17:11 UTC 2020 - Dirk Mueller + +- fix filelist mismatch after libexecdir change + +--- Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.VjRzCz/_old 2020-09-23 18:48:53.333789874 +0200 +++ /var/tmp/diff_new_pack.VjRzCz/_new 2020-09-23 18:48:53.337789878 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -138,8 +138,8 @@ %{_mandir}/man8/crtools.8%{?ext_man} %{_libexecdir}/criu %{_libexecdir}/compel -%{_libexecdir}/python*/site-packages/crit-*.egg-info -%{_libexecdir}/python*/site-packages/pycriu +%{python3_sitelib}/crit-*.egg-info +%{python3_sitelib}/pycriu %files -n libcriu2 %{_libdir}/libcriu.so.*
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2020-05-23 17:27:40 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.2738 (New) Package is "criu" Sat May 23 17:27:40 2020 rev:48 rq:807862 version:3.14 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2020-05-19 15:25:51.456866804 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new.2738/criu.changes 2020-05-23 17:28:46.543581321 +0200 @@ -1,0 +2,21 @@ +Wed May 20 16:49:38 CEST 2020 - ti...@suse.de + +- Update to criu 3.14: + New features: + * C/R of memfd memory mappings and file descriptors + * Add time namespace support + * Add the read pre-dump mode which uses process_vm_readv + * Add --cgroup-yard option + * Add support of the cgroup v2 freezer + * Add support of opened O_PATH fds + Bugfixes: + * Fix C/R ia32 processes on AMD #398 + * Fix cross-compilation + * Many fixes here and there + Improvements: + * Use clone3() with set_tid to restore processes + * Clean up compel headers + * Use the new mount API +- Add libgnutls-devel to buildreq + +--- Old: criu-3.13.tar.bz2 New: criu-3.14.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.vBAvxo/_old 2020-05-23 17:28:47.611583632 +0200 +++ /var/tmp/diff_new_pack.vBAvxo/_new 2020-05-23 17:28:47.615583641 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2020 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 @@ -26,7 +26,7 @@ %endif Name: criu -Version:3.13 +Version:3.14 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only @@ -35,6 +35,7 @@ Source0:https://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff BuildRequires: libcap-devel +BuildRequires: libgnutls-devel BuildRequires: libnet-devel BuildRequires: libnl3-devel BuildRequires: pkgconfig ++ criu-3.13.tar.bz2 -> criu-3.14.tar.bz2 ++ 18797 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2020-05-19 15:25:46 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.2738 (New) Package is "criu" Tue May 19 15:25:46 2020 rev:47 rq:807300 version:3.13 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2019-11-18 20:12:52.585515966 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new.2738/criu.changes 2020-05-19 15:25:51.456866804 +0200 @@ -1,0 +2,8 @@ +Wed May 13 07:39:45 UTC 2020 - Guillaume GARDET + +- Disable LTO on aarch64 and armv7 +- Add '-Wno-error=deprecated' to fix build on armv7 +- Exclude armv6 since criu/arch/arm/bitops.S uses 'dmb ish' which + is armv7+ + +--- Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.qgweSy/_old 2020-05-19 15:25:52.900869797 +0200 +++ /var/tmp/diff_new_pack.qgweSy/_new 2020-05-19 15:25:52.904869806 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,6 +21,10 @@ %define make_options USE_ASCIIDOCTOR=1 %endif +%ifarch %arm aarch64 +%define _lto_cflags %{nil} +%endif + Name: criu Version:3.13 Release:0 @@ -45,7 +49,7 @@ %endif Requires: python3-ipaddr Requires: python3-protobuf -ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x +ExclusiveArch: x86_64 aarch64 ppc64le armv7l armv7hl s390x %if 0%{?suse_version} > 1320 BuildRequires: libbsd-devel %endif @@ -95,6 +99,9 @@ %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" +%ifarch %arm +export CFLAGS="$CFLAGS -Wno-error=deprecated" +%endif make V=1 %{?_smp_mflags} %{?make_options} %install
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2019-11-18 20:12:20 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.26869 (New) Package is "criu" Mon Nov 18 20:12:20 2019 rev:46 rq:749342 version:3.13 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2019-09-05 12:47:00.679467956 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new.26869/criu.changes 2019-11-18 20:12:52.585515966 +0100 @@ -1,0 +2,19 @@ +Mon Nov 18 16:47:34 CET 2019 - ti...@suse.de + +- Update to criu 3.13: + New features: + * VDSO: arm32 support + * Add TLS support for page server communications + * "Ignore" mode for --manage-cgroups + * Restore SO_BROADCAST option for inet sockets + Bugfixes: + * Auxiliary events were left in inotify queues + * Lazy-pages daemon didn't detect stack pages and surrounders +properly and marked them as "lazy" + * Memory and resource leakage were detected by coverity, cppcheck +and clang + Improvements: + * Use gettimeofday() directly from vdso for restore timings + * Reformat all .py code into pep8 style + +--- Old: criu-3.12.tar.bz2 New: criu-3.13.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.FV31Bf/_old 2019-11-18 20:12:53.065515721 +0100 +++ /var/tmp/diff_new_pack.FV31Bf/_new 2019-11-18 20:12:53.065515721 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ %endif Name: criu -Version:3.12 +Version:3.13 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only @@ -124,6 +124,7 @@ %{_sbindir}/crtools %{_bindir}/compel %{_bindir}/crit +%{_mandir}/man1/compel.1%{?ext_man} %{_mandir}/man1/crit.1%{?ext_man} %{_mandir}/man8/criu.8%{?ext_man} %{_mandir}/man8/crtools.8%{?ext_man} ++ criu-3.12.tar.bz2 -> criu-3.13.tar.bz2 ++ 22868 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2019-09-05 12:46:59 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.7948 (New) Package is "criu" Thu Sep 5 12:46:59 2019 rev:45 rq:728430 version:3.12 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2019-05-07 23:19:20.408966510 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new.7948/criu.changes 2019-09-05 12:47:00.679467956 +0200 @@ -1,0 +2,5 @@ +Wed Sep 4 19:27:24 UTC 2019 - antoine.belv...@opensuse.org + +- Fix build on Tumbleweed: Add -ffat-lto-objects to lto cflags. + +--- Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.64mYpC/_old 2019-09-05 12:47:01.299468064 +0200 +++ /var/tmp/diff_new_pack.64mYpC/_new 2019-09-05 12:47:01.303468064 +0200 @@ -93,6 +93,7 @@ echo "BINFMT_MISC_VIRTUALIZED" > .config %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} %{?make_options}
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2019-05-07 23:19:18 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.5148 (New) Package is "criu" Tue May 7 23:19:18 2019 rev:44 rq:701213 version:3.12 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2018-11-20 22:44:26.394237688 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new.5148/criu.changes 2019-05-07 23:19:20.408966510 +0200 @@ -1,0 +2,23 @@ +Mon May 6 20:13:44 CEST 2019 - ti...@suse.de + +- Update to criu 3.12: + New features: + * build CRIU with Android NDK + * C/R of IP RAW sockets + * lsm: dump and restore any SELinux process label + * support restoring ghost files on readonly mounts + Bugfixes: + * Do not lock network if running in the host network namespace + * Fix RPC configuration file handling + * util: don't leak file descriprots to third-party tools + * small fixes here and there + Improvements: + * travis: switch to the Ubuntu Xenial + * travis-ci: Enable ia32 tests + * Many improvements and bug fixes in the libcriu + * Changes in the API and ABI (SONAME increased from 1 to 2) +- Updated to libcriu2 subpackage to follow SONAME 2 +- Dropped obsoleted patch: + criu-asciidoctor.patch + +--- Old: criu-3.11.tar.bz2 criu-asciidoctor.patch New: criu-3.12.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.MrYTfR/_old 2019-05-07 23:19:21.156968217 +0200 +++ /var/tmp/diff_new_pack.MrYTfR/_new 2019-05-07 23:19:21.160968226 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ %endif Name: criu -Version:3.11 +Version:3.12 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only @@ -30,7 +30,6 @@ URL:https://criu.org/ Source0:https://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff -Patch2: criu-asciidoctor.patch BuildRequires: libcap-devel BuildRequires: libnet-devel BuildRequires: libnl3-devel @@ -58,12 +57,12 @@ files. You can then use the files to restore and run the application from the point it was frozen at. -%package -n libcriu1 +%package -n libcriu2 Summary:Library for CRIU License:LGPL-2.1-only Group: System/Libraries -%description -n libcriu1 +%description -n libcriu2 This package contains the library for CRIU, Checkpoint/Restore In Userspace Tools. @@ -81,7 +80,7 @@ Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libcompel1 = %{version} -Requires: libcriu1 = %{version} +Requires: libcriu2 = %{version} %description devel This package contains all necessary include files and libraries needed @@ -90,7 +89,6 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config @@ -113,8 +111,8 @@ ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 -%post -n libcriu1 -p /sbin/ldconfig -%postun -n libcriu1 -p /sbin/ldconfig +%post -n libcriu2 -p /sbin/ldconfig +%postun -n libcriu2 -p /sbin/ldconfig %post -n libcompel1 -p /sbin/ldconfig %postun -n libcompel1 -p /sbin/ldconfig @@ -133,7 +131,7 @@ %{_libexecdir}/python*/site-packages/crit-*.egg-info %{_libexecdir}/python*/site-packages/pycriu -%files -n libcriu1 +%files -n libcriu2 %{_libdir}/libcriu.so.* %files -n libcompel1 ++ criu-3.11.tar.bz2 -> criu-3.12.tar.bz2 ++ 7839 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2018-11-20 22:43:48 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.19453 (New) Package is "criu" Tue Nov 20 22:43:48 2018 rev:43 rq:650359 version:3.11 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2018-05-29 16:52:43.550822850 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new.19453/criu.changes 2018-11-20 22:44:26.394237688 +0100 @@ -1,0 +2,47 @@ +Mon Nov 19 17:46:08 CET 2018 - ti...@suse.de + +- Update to criu 3.10: + New features: + * Support Python3 in ZDTM and CRIT + * Keep names for UNIX sockets, that are unlinked from the FS + * IPVv6 support for page server + * Set page server socket fd via CLI + * Large pages support for aarch64/ppc64 + * C/R of Per-thread seccomp chains + Bugfixes: + * Failed non-container restore could kill random task on the host + * Failure to dump namespaces was erroneously ignored + * CRIT didn't show cpuinfo image file + * Tasks that got PID-reuse couldn't be dumped iteratively because +previous images were missing + +- Update to criu 3.11: + New features: + * cpuinfo: Detect compact frames and handle noxsaves + * Add support for configuration files + * Add support for external net namespaces + * Punch holes in input files when restoring anonymous non-shared +memory ( --auto-dedup ) + * C/R of ++ epoll: Add support for duped targets ++ tun: Add support for multiple net ns ++ x86: Support extendable fpu frames + Bugfixes: + * mount: Better handling of mount points propagation + * nmk: Make collect-deps to be more precise about targets + * lazy-pages: Don't mark current stack page as lazy + * x86: CPU -- Rework feature testing + * files: Fix O(n^2) restore in terms of the number of fds + * fdstore: Unlimit fdstore queue on start + * mount: Fix regression where open_mountpoint failed on readonly fs + * page server: Handle partial splicing + * ... lots of small fixes here and there + Improvements: + * Remove all magic of service descriptors when it isn't required + +- Switch to python3 + +- Use asciidoctor instead of asciidoc for formatting manuals: + criu-asciidoctor.patch + +--- Old: criu-3.9.tar.bz2 New: criu-3.11.tar.bz2 criu-asciidoctor.patch Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.1PaboI/_old 2018-11-20 22:44:27.614237221 +0100 +++ /var/tmp/diff_new_pack.1PaboI/_new 2018-11-20 22:44:27.614237221 +0100 @@ -12,12 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%if 0%{?suse_version} >= 1330 +%define use_asciidoctor 1 +%define make_options USE_ASCIIDOCTOR=1 +%endif + Name: criu -Version:3.9 +Version:3.11 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only @@ -25,17 +30,22 @@ URL:https://criu.org/ Source0:https://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff -BuildRequires: asciidoc +Patch2: criu-asciidoctor.patch BuildRequires: libcap-devel BuildRequires: libnet-devel BuildRequires: libnl3-devel BuildRequires: pkgconfig BuildRequires: protobuf-c BuildRequires: protobuf-devel -BuildRequires: python-devel +BuildRequires: python3-devel +%if 0%{?use_asciidoctor} +BuildRequires: rubygem(asciidoctor) +%else +BuildRequires: asciidoc BuildRequires: xmlto -Requires: python-ipaddr -Requires: python-protobuf +%endif +Requires: python3-ipaddr +Requires: python3-protobuf ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x %if 0%{?suse_version} > 1320 BuildRequires: libbsd-devel @@ -80,15 +90,16 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config %build export CFLAGS="%{optflags}" -make V=1 %{?_smp_mflags} +make V=1 %{?_smp_mflags} %{?make_options} %install -%make_install V=1 \ +%make_install V=1 %{?make_options} \ PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ LIBEXECDIR=%{_libexecdir} ++ criu-3.9.tar.bz2 -> criu-3.11.tar.bz2 ++ 22474 lines of diff (skipped) ++ criu-asciidoctor.patch ++ --- Documentation/Makefile | 14 ++ 1 file changed, 14 insertions(+) --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -2,9 +2,15 @@ __nmk_dir ?= ../scripts/nmk/scripts/ include
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2018-05-29 16:52:38 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Tue May 29 16:52:38 2018 rev:42 rq:612800 version:3.9 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2018-04-06 17:50:57.892412163 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2018-05-29 16:52:43.550822850 +0200 @@ -1,0 +2,21 @@ +Mon May 28 21:15:10 UTC 2018 - avin...@opensuse.org + +- update to criu 3.9: + New features +- C/R of + + Tun-Tap devices in sub-netns + + File descriptors which were opened with O_TMPFILE + Improvements +- Restore of inotify watchers +- Restore unix sockets in proper mount namespaces +- Print CRIU and kernel version also in RPC mode + Bugfixes +- Random memory corruptions during lazy restore +- Workaround the iptables issue +- Don't use standard descriptors when tar is running to dump + tmpfs mounts +- Fail dump if dump_one_file() fails +- Fill kerndat with zero-s before reading it from cache +- cleanup with spec-cleaner + +--- Old: criu-3.8.1.tar.bz2 New: criu-3.9.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.TxLjYb/_old 2018-05-29 16:52:44.130801511 +0200 +++ /var/tmp/diff_new_pack.TxLjYb/_new 2018-05-29 16:52:44.130801511 +0200 @@ -17,12 +17,12 @@ Name: criu -Version:3.8.1 +Version:3.9 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only Group: System/Console -Url:https://criu.org/ +URL:https://criu.org/ Source0:https://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff BuildRequires: asciidoc @@ -119,8 +119,8 @@ %{_mandir}/man8/crtools.8%{?ext_man} %{_libexecdir}/criu %{_libexecdir}/compel -%{_prefix}/lib/python*/site-packages/crit-*.egg-info -%{_prefix}/lib/python*/site-packages/pycriu +%{_libexecdir}/python*/site-packages/crit-*.egg-info +%{_libexecdir}/python*/site-packages/pycriu %files -n libcriu1 %{_libdir}/libcriu.so.* ++ criu-3.8.1.tar.bz2 -> criu-3.9.tar.bz2 ++ 4177 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2018-04-06 17:48:44 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Fri Apr 6 17:48:44 2018 rev:41 rq:593896 version:3.8.1 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2018-03-20 22:00:57.556387549 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2018-04-06 17:50:57.892412163 +0200 @@ -1,0 +2,13 @@ +Thu Apr 5 12:30:17 CEST 2018 - ti...@suse.de + +- update to criu 3.8.1: a bug-fix release + FDstore was initialized twice (re-initialized) causing e.g. + --shell-job restore to fail + +--- +Tue Mar 20 22:50:51 CET 2018 - ti...@suse.de + +- Add python-devel to BuildReq explicitly, as a preparation for + fallback to asciidoctor (bsc#1075764) + +--- Old: criu-3.8.tar.bz2 New: criu-3.8.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.J4gmwR/_old 2018-04-06 17:50:59.108368202 +0200 +++ /var/tmp/diff_new_pack.J4gmwR/_new 2018-04-06 17:50:59.108368202 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:3.8 +Version:3.8.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0-only @@ -32,6 +32,7 @@ BuildRequires: pkgconfig BuildRequires: protobuf-c BuildRequires: protobuf-devel +BuildRequires: python-devel BuildRequires: xmlto Requires: python-ipaddr Requires: python-protobuf ++ criu-3.8.tar.bz2 -> criu-3.8.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.8/Makefile.versions new/criu-3.8.1/Makefile.versions --- old/criu-3.8/Makefile.versions 2018-03-13 13:42:34.0 +0100 +++ new/criu-3.8.1/Makefile.versions2018-03-29 20:58:56.0 +0200 @@ -2,7 +2,7 @@ # CRIU version. CRIU_VERSION_MAJOR := 3 CRIU_VERSION_MINOR := 8 -CRIU_VERSION_SUBLEVEL := +CRIU_VERSION_SUBLEVEL := 1 CRIU_VERSION_EXTRA := CRIU_VERSION_NAME := Snow Bunting CRIU_VERSION := $(CRIU_VERSION_MAJOR)$(if $(CRIU_VERSION_MINOR),.$(CRIU_VERSION_MINOR))$(if $(CRIU_VERSION_SUBLEVEL),.$(CRIU_VERSION_SUBLEVEL))$(if $(CRIU_VERSION_EXTRA),.$(CRIU_VERSION_EXTRA)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.8/criu/cr-restore.c new/criu-3.8.1/criu/cr-restore.c --- old/criu-3.8/criu/cr-restore.c 2018-03-13 13:42:34.0 +0100 +++ new/criu-3.8.1/criu/cr-restore.c2018-03-29 20:58:56.0 +0200 @@ -1648,9 +1648,6 @@ /* Restore root task */ if (current->parent == NULL) { - if (fdstore_init()) - goto err; - if (join_namespaces()) { pr_perror("Join namespaces failed"); goto err;
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2018-03-20 22:00:31 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Tue Mar 20 22:00:31 2018 rev:40 rq:588741 version:3.8 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-12-29 18:50:52.645450463 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2018-03-20 22:00:57.556387549 +0100 @@ -1,0 +2,26 @@ +Tue Mar 13 16:21:20 UTC 2018 - avin...@opensuse.org + +- update to criu 3.8: + New features + * C/R of +- Multiple network namespaces +- Overmounted tmpfs mounts +- Unix sockets and epoll descriptors in SCM messages + Improvements + * Rework service descriptors not to cause fdtable enormous grows + Bugfixes + * FP state wasn't reported on Skylake due to a kernel bug + * gcc 8 warning fixes + * Resource leaked on error paths + * Attributes of sit devices with value 0 were not saved into +images (and were restored into default values) + * Tasks with pgid of a zombie hung the resture + * Ghost files on RO bind-mounts of an RW mount couldn't be +restored + * Random memory corruptions during lazy restore +- cleanup with spec-cleaner +- switch to https urls +- list binaries and man pages explicitly +- remove rest of static libs to fix rpm lint errors + +--- Old: criu-3.7.tar.bz2 New: criu-3.8.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.W2kIx2/_old 2018-03-20 22:00:58.764344058 +0100 +++ /var/tmp/diff_new_pack.W2kIx2/_new 2018-03-20 22:00:58.768343914 +0100 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,13 +17,13 @@ Name: criu -Version:3.7 +Version:3.8 Release:0 Summary:Checkpoint/Restore In Userspace Tools -License:GPL-2.0 +License:GPL-2.0-only Group: System/Console -Url:http://criu.org/ -Source0:http://download.openvz.org/criu/%{name}-%{version}.tar.bz2 +Url:https://criu.org/ +Source0:https://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff BuildRequires: asciidoc BuildRequires: libcap-devel @@ -49,7 +49,7 @@ %package -n libcriu1 Summary:Library for CRIU -License:LGPL-2.1 +License:LGPL-2.1-only Group: System/Libraries %description -n libcriu1 @@ -58,7 +58,7 @@ %package -n libcompel1 Summary:Compel library for CRIU -License:LGPL-2.1 +License:LGPL-2.1-only Group: System/Libraries %description -n libcompel1 @@ -66,7 +66,7 @@ %package devel Summary:Include Files and Libraries mandatory for Development -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libcompel1 = %{version} @@ -84,15 +84,17 @@ %build export CFLAGS="%{optflags}" -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} +make V=1 %{?_smp_mflags} %install -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \ - DESTDIR=%{buildroot} install +%make_install V=1 \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + LIBEXECDIR=%{_libexecdir} # remove static libs -rm -f %{buildroot}%{_libdir}/lib*.a +rm -f %{buildroot}%{_libdir}/lib*.a \ + %{buildroot}%{_libexecdir}/compel/*.a + # remove stable files rm -f %{buildroot}%{_includedir}/compel/plugins/std/asm/.gitignore # for compatiblity @@ -105,10 +107,15 @@ %postun -n libcompel1 -p /sbin/ldconfig %files -%doc README.md COPYING -%{_sbindir}/* -%{_bindir}/* -%{_mandir}/man*/* +%license COPYING +%doc README.md +%{_sbindir}/criu +%{_sbindir}/crtools +%{_bindir}/compel +%{_bindir}/crit +%{_mandir}/man1/crit.1%{?ext_man} +%{_mandir}/man8/criu.8%{?ext_man} +%{_mandir}/man8/crtools.8%{?ext_man} %{_libexecdir}/criu %{_libexecdir}/compel %{_prefix}/lib/python*/site-packages/crit-*.egg-info ++ criu-3.7.tar.bz2 -> criu-3.8.tar.bz2 ++ 9790 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-12-29 18:50:40 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Fri Dec 29 18:50:40 2017 rev:39 rq:559980 version:3.7 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-11-14 12:59:00.663023971 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-12-29 18:50:52.645450463 +0100 @@ -1,0 +2,39 @@ +Fri Dec 22 23:57:01 UTC 2017 - avin...@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 + +--- Old: 0001-images.py-remove-shebang.patch criu-3.6.tar.bz2 New: criu-3.7.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.ZBJf0a/_old 2017-12-29 18:50:53.485209279 +0100 +++ /var/tmp/diff_new_pack.ZBJf0a/_new 2017-12-29 18:50:53.489208131 +0100 @@ -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 @@ 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 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config ++ criu-3.6.tar.bz2 -> criu-3.7.tar.bz2 ++ 6961 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-11-14 12:58:52 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Tue Nov 14 12:58:52 2017 rev:38 rq:541321 version:3.6 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-11-07 10:05:24.274179863 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-11-14 12:59:00.663023971 +0100 @@ -1,0 +2,9 @@ +Sun Nov 12 01:05:43 UTC 2017 - aavind...@gmail.com + +- add 0001-images.py-remove-shebang.patch + * fixes a lint warning about a non-executable python file being +executable due to a superfluous shebang + * upstream: https://lists.openvz.org/pipermail/criu/2017-November/039907.html +- run spec-cleaner + +--- New: 0001-images.py-remove-shebang.patch Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.0eQrFF/_old 2017-11-14 12:59:01.602989602 +0100 +++ /var/tmp/diff_new_pack.0eQrFF/_new 2017-11-14 12:59:01.602989602 +0100 @@ -25,21 +25,22 @@ 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 -%if 0%{suse_version} > 1320 -BuildRequires: libbsd-devel -%endif BuildRequires: libcap-devel BuildRequires: libnet-devel BuildRequires: libnl3-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: protobuf-c BuildRequires: protobuf-devel BuildRequires: xmlto Requires: python-ipaddr Requires: python-protobuf -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x +%if 0%{?suse_version} > 1320 +BuildRequires: libbsd-devel +%endif %description Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux @@ -80,6 +81,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config @@ -101,34 +103,27 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 %post -n libcriu1 -p /sbin/ldconfig - %postun -n libcriu1 -p /sbin/ldconfig - %post -n libcompel1 -p /sbin/ldconfig - %postun -n libcompel1 -p /sbin/ldconfig %files -%defattr(-,root,root) %doc README.md COPYING %{_sbindir}/* %{_bindir}/* %{_mandir}/man*/* %{_libexecdir}/criu %{_libexecdir}/compel -/usr/lib/python*/site-packages/crit-*.egg-info -/usr/lib/python*/site-packages/pycriu +%{_prefix}/lib/python*/site-packages/crit-*.egg-info +%{_prefix}/lib/python*/site-packages/pycriu %files -n libcriu1 -%defattr(-,root,root) %{_libdir}/libcriu.so.* %files -n libcompel1 -%defattr(-,root,root) %{_libdir}/libcompel.so.* %files devel -%defattr(-,root,root) %{_includedir}/criu %{_includedir}/compel %{_libdir}/libcriu.so ++ 0001-images.py-remove-shebang.patch ++ >From aee84030f4623c468faaa90b8fc0820e39f86bda Mon Sep 17 00:00:00 2001 From: Avindra GoolcharanDate: 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
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-11-07 10:04:47 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Tue Nov 7 10:04:47 2017 rev:37 rq:539335 version:3.6 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-08-24 18:55:31.886955707 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-11-07 10:05:24.274179863 +0100 @@ -1,0 +2,25 @@ +Sat Nov 4 22:41:24 UTC 2017 - aavind...@gmail.com + +- update to criu 3.6: + New features + * C/R for files (except for unix sockets, ttys and epolls) sent +over unix sockets + * C/R for threads with different creds + * Ipv6 over ipv4 tunnel (SIT device) + Bugfixes + * Some s390x registers were not restored by native sigrestore way + * Overflow when parsing autofs info from /proc file + * Dumps of anon shared memory with sysvipc one raced with each +other clashing and corrupting image file names + * The "dumpable" flag was not restore on shmem regions + * Trash bits leaked into image when dumping fsnotify on some +kernels + * Lock/unlock of iptables from different criu processes raced with +each other + * Closed TCP connection with non-empty send queue blocked the dump + * When --empty-ns for netns was set on dump only, the restore +failed (Docker case) +- includes changes from 3.5: + see https://criu.org/Download/criu/3.5 for details + +--- Old: criu-3.4.tar.bz2 New: criu-3.6.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.hJU6m5/_old 2017-11-07 10:05:26.498099174 +0100 +++ /var/tmp/diff_new_pack.hJU6m5/_new 2017-11-07 10:05:26.502099029 +0100 @@ -17,13 +17,13 @@ Name: criu -Version:3.4 +Version:3.6 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ -Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 +Source0:http://download.openvz.org/criu/%{name}-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff BuildRequires: asciidoc %if 0%{suse_version} > 1320 ++ criu-3.4.tar.bz2 -> criu-3.6.tar.bz2 ++ 13777 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-08-24 18:55:27 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Thu Aug 24 18:55:27 2017 rev:36 rq:518343 version:3.4 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-07-21 22:49:20.117269672 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-08-24 18:55:31.886955707 +0200 @@ -1,0 +2,30 @@ +Tue Aug 22 17:21:54 CEST 2017 - ti...@suse.de + +- update to criu 3.4: + New features: + * Support for s390x architecture + Improvements: + * Unexpected death of restored tasks is reported with more +details in logs + * Merged many images containing info about files into one big +files.img + * When helper utility fails (ip, iptables, tar) its name is +printed in logs + Bugfixes: + * Compilation failed on newer glibcs (ucontext_t) + * Dying helper task could deadlock the restore process + * Install-related makefile variables weren't configurable for +distro build + * SIT (ipv6-to-v4 tunnel) presence on host blocked dump of any +containers + * Potential NULL dereference when dumping net namespace + * Dump via page server might not work across different criu +versions + * Failure to restore a subtask could be ignored by the restore +command + * EOF on page-server socket wasn't handled +- Dropped obsoleted patch: + criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch +- Add s390x to exclusivearch + +--- Old: criu-3.3.tar.bz2 criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch New: criu-3.4.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.2pL0sX/_old 2017-08-24 18:55:32.594856030 +0200 +++ /var/tmp/diff_new_pack.2pL0sX/_new 2017-08-24 18:55:32.606854341 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:3.3 +Version:3.4 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -25,7 +25,6 @@ Url:http://criu.org/ Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 Patch1: criu-py-install-fix.diff -Patch2: criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch BuildRequires: asciidoc %if 0%{suse_version} > 1320 BuildRequires: libbsd-devel @@ -40,7 +39,7 @@ Requires: python-ipaddr Requires: python-protobuf BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 aarch64 ppc64le %{arm} +ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x %description Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux @@ -81,7 +80,6 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config ++ criu-3.3.tar.bz2 -> criu-3.4.tar.bz2 ++ 5923 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-07-21 22:49:18 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Fri Jul 21 22:49:18 2017 rev:35 rq:511406 version:3.3 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-06-30 18:43:47.890011554 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-07-21 22:49:20.117269672 +0200 @@ -1,0 +2,7 @@ +Wed Jul 19 11:16:42 UTC 2017 - bwiedem...@suse.com + +- update to criu 3.3 + * Add --tcp-close option to help migration of Docker containers + * Allow to override build time to fix build-compare (boo#1047218) + +--- Old: criu-3.2.1.tar.bz2 New: criu-3.3.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.WKCHql/_old 2017-07-21 22:49:20.949152325 +0200 +++ /var/tmp/diff_new_pack.WKCHql/_new 2017-07-21 22:49:20.953151761 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:3.2.1 +Version:3.3 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-3.2.1.tar.bz2 -> criu-3.3.tar.bz2 ++ 2903 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-06-30 18:43:06 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Fri Jun 30 18:43:06 2017 rev:34 rq:507279 version:3.2.1 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-06-22 10:40:40.587224838 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-06-30 18:43:47.890011554 +0200 @@ -1,0 +2,7 @@ +Fri Jun 30 11:33:54 CEST 2017 - ti...@suse.de + +- update to criu 3.2.1: bug fix release, + * Restoring a stack fails on recent kernels due to kernel changes + * Restoring on a host with LSM profiles failed + +--- Old: criu-3.2.tar.bz2 New: criu-3.2.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.hg6xmI/_old 2017-06-30 18:43:48.389941236 +0200 +++ /var/tmp/diff_new_pack.hg6xmI/_new 2017-06-30 18:43:48.389941236 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:3.2 +Version:3.2.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-3.2.tar.bz2 -> criu-3.2.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/.travis.yml new/criu-3.2.1/.travis.yml --- old/criu-3.2/.travis.yml2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/.travis.yml 2017-06-28 07:49:36.0 +0200 @@ -22,3 +22,4 @@ after_success: - ccache -s - make -C scripts/travis after_success +group: deprecated-2017Q2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/Makefile.versions new/criu-3.2.1/Makefile.versions --- old/criu-3.2/Makefile.versions 2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/Makefile.versions2017-06-28 07:49:36.0 +0200 @@ -2,7 +2,7 @@ # CRIU version. CRIU_VERSION_MAJOR := 3 CRIU_VERSION_MINOR := 2 -CRIU_VERSION_SUBLEVEL := +CRIU_VERSION_SUBLEVEL := 1 CRIU_VERSION_EXTRA := CRIU_VERSION_NAME := Tin Hoopoe CRIU_VERSION := $(CRIU_VERSION_MAJOR)$(if $(CRIU_VERSION_MINOR),.$(CRIU_VERSION_MINOR))$(if $(CRIU_VERSION_SUBLEVEL),.$(CRIU_VERSION_SUBLEVEL))$(if $(CRIU_VERSION_EXTRA),.$(CRIU_VERSION_EXTRA)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/criu/cr-dump.c new/criu-3.2.1/criu/cr-dump.c --- old/criu-3.2/criu/cr-dump.c 2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/criu/cr-dump.c 2017-06-28 07:49:36.0 +0200 @@ -1539,6 +1539,9 @@ if (kerndat_init()) goto err; + if (lsm_check_opts()) + goto err; + if (irmap_load_cache()) goto err; @@ -1689,6 +1692,9 @@ if (kerndat_init()) goto err; + if (lsm_check_opts()) + goto err; + if (irmap_load_cache()) goto err; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/criu/cr-restore.c new/criu-3.2.1/criu/cr-restore.c --- old/criu-3.2/criu/cr-restore.c 2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/criu/cr-restore.c2017-06-28 07:49:36.0 +0200 @@ -2134,6 +2134,9 @@ if (kerndat_init()) goto err; + if (lsm_check_opts()) + goto err; + timing_start(TIME_RESTORE); if (cpu_init() < 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/criu/crtools.c new/criu-3.2.1/criu/crtools.c --- old/criu-3.2/criu/crtools.c 2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/criu/crtools.c 2017-06-28 07:49:36.0 +0200 @@ -511,8 +511,8 @@ return -1; break; case 1071: - if (parse_lsm_arg(optarg) < 0) - return -1; + opts.lsm_profile = optarg; + opts.lsm_supplied = true; break; case 1072: opts.timeout = atoi(optarg); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-3.2/criu/include/kerndat.h new/criu-3.2.1/criu/include/kerndat.h --- old/criu-3.2/criu/include/kerndat.h 2017-06-19 11:59:14.0 +0200 +++ new/criu-3.2.1/criu/include/kerndat.h 2017-06-28 07:49:36.0 +0200 @@ -1,6 +1,8 @@ #ifndef __CR_KERNDAT_H__ #define __CR_KERNDAT_H__ +#include + #include
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-06-22 10:40:37 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Thu Jun 22 10:40:37 2017 rev:33 rq:505508 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-05-06 18:28:00.229176699 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-06-22 10:40:40.587224838 +0200 @@ -1,0 +2,59 @@ +Tue Jun 20 12:26:00 CEST 2017 - ti...@suse.de + +- update to criu 3.1: + New features: + * Each boolean option now has the --no-$option pair + * RSS explorer in CRIT + * Multiple plugins in compel + * Run-time check of 32-mmap BUG on x86 + * C/R of 32-bit futex robust list on x86 + Optimizations/improvements: + * Start time is improved significantly with kerndat cache + * Sigaction image is merged into Core + * Unneeded stages are skipped during restore + * Restore w/o namespaces uses host /proc + * Restore w/o namespaces doesn't parse host mounts (not needed) + * Single-threaded tasks do not parse /proc/pid/task/ in vain + * BFD engine is used for more /proc files + * More verbosity in libsoccr + * Fsnotify dump w/o namespaces doesn't walk mounts tree + Bugfixes: + * Python bindings left zombie in self-dump mode + * The last_pid sys-control was reset by restore + * Threads caps were compared with mistake + * make install put crit/pycriu to wrong place if DESTDIR was not set + * Fsnotifies C/R w/o namespaces restored with errors + * Inherited control terminal restore was failed (but dump succeeded) + +- update to criu 3.2: + Optimizations/improvements: + * Invisible files restore is de-serialized + * VMAs restore performance is improved significantly + - Mappings of the same file re-use the descriptor, not re-open it + every time + - Not-COW-ed mappings are restored in-place and are not mremmap()ed + - Empty RO mappings are mmap()ed as such and thus not re-mprotect()ed + at the end + * More verbosity in case TCP locking fails (#292) + * More verbosity in case VDSO magic mismatch + * Restore or legacy epoll target descriptors and fsnotify marks is +unified with common case + Bugfixes: + * Restoring fanotify marks from old images (<1.3) dropped the mark + * Binfmt_misc mount could be mounted into wrong place + * Compilation failed with gcc 6.3.0 (#315) + * Waiting helpers could race with sigchild handler and would result +in restore failure + * Missing VVAR page in 32bit tasks wasn't skipped and resulted in +restore failure + * After restore consumption of files is increased (was fixed as +side effect of mmap optimization) + Deprecation/Removal: + * Deprecated separate images for fsnotify marks + +- Fix the installation of python stuff: + criu-py-install-fix.diff +- Fix the build for ppc64: + criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch + +--- Old: criu-3.0.tar.bz2 New: criu-3.2.tar.bz2 criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch criu-py-install-fix.diff Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.Xsw14W/_old 2017-06-22 10:40:41.171142511 +0200 +++ /var/tmp/diff_new_pack.Xsw14W/_new 2017-06-22 10:40:41.171142511 +0200 @@ -17,13 +17,15 @@ Name: criu -Version:3.0 +Version:3.2 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 +Patch1: criu-py-install-fix.diff +Patch2: criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch BuildRequires: asciidoc %if 0%{suse_version} > 1320 BuildRequires: libbsd-devel @@ -78,6 +80,8 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 # default off echo "BINFMT_MISC_VIRTUALIZED" > .config ++ criu-3.0.tar.bz2 -> criu-3.2.tar.bz2 ++ 6427 lines of diff (skipped) ++ criu-correct-ppc64-AT_VECTOR_SIZE_ARCH.patch ++ --- criu/arch/ppc64/include/asm/types.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/criu/arch/ppc64/include/asm/types.h +++ b/criu/arch/ppc64/include/asm/types.h @@ -29,7 +29,7 @@ static inline uint64_t encode_pointer(vo * include/linux/mm_types.h */ #define AT_VECTOR_SIZE_BASE20 -#define AT_VECTOR_SIZE_ARCH6 +#define AT_VECTOR_SIZE_ARCH14 #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1)) typedef uint64_t auxv_t; ++ criu-py-install-fix.diff ++ --- lib/Makefile |2 +- 1 file changed, 1 insertion(+), 1
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-05-06 18:27:48 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Sat May 6 18:27:48 2017 rev:32 rq:491206 version:3.0 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-04-03 11:06:03.511624680 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-05-06 18:28:00.229176699 +0200 @@ -1,0 +2,27 @@ +Mon Apr 24 22:31:21 CEST 2017 - ti...@suse.de + +- update to criu 3.0: + New features: + * Compel library + * Support for x86 32-bit arch + * Version check via RPC + * ASAN support + * Force VDSO trampolines via fault injection + * C/R of shutdown-ed UDP sockets + * C/R of bind-mounts made from external mounts + Optimizations/improvements: + * SysVIPC shmem segments are now dumped as any other shmem +(taking holes into account and sitting in common memory dumps) + * CRIT show decodes socket's states and types and task's states +into strings + * CRIT show prints unix sockets names in more human-readable form + Bugfixes: + * Unix sockets' names appeared in logs with mistakes + * Contents of SysVIPC shmem segments was dumped twice + * Dumping of any memory segment more than 4Gigs failed + * Migration of unaligned SysvSHM segment on Armv7 failed + Deprecation/removal: + * Exec action is removed, use compel instead +- Create libcompel1 sub-package + +--- Old: criu-2.12.1.tar.bz2 New: criu-3.0.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.yU9UaQ/_old 2017-05-06 18:28:00.921079068 +0200 +++ /var/tmp/diff_new_pack.yU9UaQ/_new 2017-05-06 18:28:00.925078504 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.12.1 +Version:3.0 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -56,11 +56,20 @@ This package contains the library for CRIU, Checkpoint/Restore In Userspace Tools. +%package -n libcompel1 +Summary:Compel library for CRIU +License:LGPL-2.1 +Group: System/Libraries + +%description -n libcompel1 +This package contains the compel library for CRIU to execute a parasite code. + %package devel Summary:Include Files and Libraries mandatory for Development License:LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: glibc-devel +Requires: libcompel1 = %{version} Requires: libcriu1 = %{version} %description devel @@ -81,6 +90,10 @@ make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \ DESTDIR=%{buildroot} install +# remove static libs +rm -f %{buildroot}%{_libdir}/lib*.a +# remove stable files +rm -f %{buildroot}%{_includedir}/compel/plugins/std/asm/.gitignore # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 @@ -89,6 +102,10 @@ %postun -n libcriu1 -p /sbin/ldconfig +%post -n libcompel1 -p /sbin/ldconfig + +%postun -n libcompel1 -p /sbin/ldconfig + %files %defattr(-,root,root) %doc README.md COPYING @@ -96,6 +113,7 @@ %{_bindir}/* %{_mandir}/man*/* %{_libexecdir}/criu +%{_libexecdir}/compel /usr/lib/python*/site-packages/crit-*.egg-info /usr/lib/python*/site-packages/pycriu @@ -103,10 +121,16 @@ %defattr(-,root,root) %{_libdir}/libcriu.so.* +%files -n libcompel1 +%defattr(-,root,root) +%{_libdir}/libcompel.so.* + %files devel %defattr(-,root,root) %{_includedir}/criu +%{_includedir}/compel %{_libdir}/libcriu.so +%{_libdir}/libcompel.so %{_libdir}/pkgconfig/*.pc %changelog ++ criu-2.12.1.tar.bz2 -> criu-3.0.tar.bz2 ++ 30451 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-04-03 11:05:23 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Mon Apr 3 11:05:23 2017 rev:31 rq:484227 version:2.12.1 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-03-22 23:18:23.386847079 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-04-03 11:06:03.511624680 +0200 @@ -1,0 +2,10 @@ +Fri Mar 31 14:49:05 CEST 2017 - ti...@suse.de + +- update to criu 2.12.1: + Fixes: + * Content for external bind mounts was erroneously dumped, which +could lead to dump failures or huuuge images + * Unneeded collection of host mounts on restore could cause +restore to fail + +--- Old: criu-2.12.tar.bz2 New: criu-2.12.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.5rvAlV/_old 2017-04-03 11:06:04.215525230 +0200 +++ /var/tmp/diff_new_pack.5rvAlV/_new 2017-04-03 11:06:04.219524665 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.12 +Version:2.12.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.12.tar.bz2 -> criu-2.12.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-2.12/Makefile.versions new/criu-2.12.1/Makefile.versions --- old/criu-2.12/Makefile.versions 2017-03-08 19:45:51.0 +0100 +++ new/criu-2.12.1/Makefile.versions 2017-03-27 20:44:22.0 +0200 @@ -2,7 +2,7 @@ # CRIU version. CRIU_VERSION_MAJOR := 2 CRIU_VERSION_MINOR := 12 -CRIU_VERSION_SUBLEVEL := +CRIU_VERSION_SUBLEVEL := 1 CRIU_VERSION_EXTRA := CRIU_VERSION_NAME := Vulcanite Rook CRIU_VERSION := $(CRIU_VERSION_MAJOR)$(if $(CRIU_VERSION_MINOR),.$(CRIU_VERSION_MINOR))$(if $(CRIU_VERSION_SUBLEVEL),.$(CRIU_VERSION_SUBLEVEL))$(if $(CRIU_VERSION_EXTRA),.$(CRIU_VERSION_EXTRA)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-2.12/criu/mount.c new/criu-2.12.1/criu/mount.c --- old/criu-2.12/criu/mount.c 2017-03-08 19:45:51.0 +0100 +++ new/criu-2.12.1/criu/mount.c2017-03-27 20:44:22.0 +0200 @@ -1263,13 +1263,14 @@ if (me.fstype == FSTYPE__AUTO) me.fsname = pm->fsname; + if (!pm->external) { + if (!pm->dumped && dump_one_fs(pm)) + return -1; - if (!pm->dumped && dump_one_fs(pm)) - return -1; - - if (!fsroot_mounted(pm) && - pm->fstype->check_bindmount && pm->fstype->check_bindmount(pm)) - return -1; + if (!fsroot_mounted(pm) && + pm->fstype->check_bindmount && pm->fstype->check_bindmount(pm)) + return -1; + } if (pm->mnt_id == CRTIME_MNT_ID) { pr_info("Skip dumping cr-time mountpoint: %s\n", pm->mountpoint); @@ -2901,7 +2902,6 @@ int prepare_mnt_ns(void) { int ret = -1, rst = -1; - struct mount_info *old; struct ns_id ns = { .type = NS_CRIU, .ns_pid = PROC_SELF, .nd = _ns_desc }; struct ns_id *nsid; @@ -2910,27 +2910,30 @@ pr_info("Restoring mount namespace\n"); - old = collect_mntinfo(, false); - if (old == NULL) - return -1; - if (!opts.root) { + struct mount_info *old; + if (chdir("/")) { pr_perror("chdir(\"/\") failed"); return -1; } + old = collect_mntinfo(, false); + if (old == NULL) + return -1; /* * The new mount namespace is filled with the mountpoint * clones from the original one. We have to umount them * prior to recreating new ones. */ pr_info("Cleaning mount namespace\n"); - if (mnt_tree_for_each_reverse(ns.mnt.mntinfo_tree, do_umount_one)) + if (mnt_tree_for_each_reverse(ns.mnt.mntinfo_tree, do_umount_one)) { + free_mntinfo(old); return -1; - } + } - free_mntinfo(old); + free_mntinfo(old); + } ret = populate_mnt_ns(); if (ret)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-03-22 23:18:20 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Wed Mar 22 23:18:20 2017 rev:30 rq:481939 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-03-02 19:38:47.543266956 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-03-22 23:18:23.386847079 +0100 @@ -1,0 +2,14 @@ +Tue Mar 21 12:06:28 CET 2017 - ti...@suse.de + +- update to criu 2.12: + New features: + * C/R of external TTYs (for Docker C/R) + Optimizations/improvements: + * Sanitized the way the -v works + Fixes: + * Checking features via RPC crashed + * Resting pipes in user-namespaces could fail on modern kernels + * Shutdown state for UNIX sockets could be lost on restore + * Dump of huge (over 2Gb) SysV shmem segments didn't work + +--- Old: criu-2.11.1.tar.bz2 New: criu-2.12.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.kXkgB0/_old 2017-03-22 23:18:24.830642569 +0100 +++ /var/tmp/diff_new_pack.kXkgB0/_new 2017-03-22 23:18:24.830642569 +0100 @@ -17,7 +17,7 @@ Name: criu -Version:2.11.1 +Version:2.12 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.11.1.tar.bz2 -> criu-2.12.tar.bz2 ++ 3385 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-03-02 19:38:46 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Thu Mar 2 19:38:46 2017 rev:29 rq:460904 version:2.11.1 Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2017-02-03 17:35:03.187188745 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-03-02 19:38:47.543266956 +0100 @@ -1,0 +2,35 @@ +Tue Feb 28 15:35:27 CET 2017 - ti...@suse.de + +- Update to criu 2.11: + New features: + * Added "pre-resume" to action scripts + * New --status-fd option for better control of page server + * C/R OFD file locks, RO root mount for mount namespaces + Optimizations/improvements: + * More strict checks for extra CLI options + * Report errors when probing locks + * Restorer logs now contain timestamps + Fixes: + * Regression: v2.10 was broken on ARM + * Use-after-free when restoring ghost directory + * Array out-of-bound access when restoring VETH device + * Page server exit code could be screwed up + * Clang over-optimized string.h routines resulting in random +crashes + * Parasite failed to send FDs via socket on Alpine Linux + * Restore of huge file tables could get stuck + * Restore of epoll in epoll could fail + * Errno value could be lost when reporting failure to restore +invisible files + * Dump of sched params didn't work on Alpine + * Restore of huge memory dumps (over 2G) failed + * Installation guessed /lib vs /lib64 with errors + * Migration between xsave and noxsave didn't work for wrong cpu +feature being checked +- Update to criu 2.11.1: + Fixes: + * Page server start via RPC was broken + * Fedora build didn't work + * Ppc64LE restorer switch crashed + +--- Old: criu-2.10.tar.bz2 New: criu-2.11.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.x91B0w/_old 2017-03-02 19:38:48.127184329 +0100 +++ /var/tmp/diff_new_pack.x91B0w/_new 2017-03-02 19:38:48.127184329 +0100 @@ -17,7 +17,7 @@ Name: criu -Version:2.10 +Version:2.11.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.10.tar.bz2 -> criu-2.11.1.tar.bz2 ++ 9130 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2017-01-27 11:16:29 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-12-13 19:34:46.446787629 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2017-02-03 17:35:03.187188745 +0100 @@ -1,0 +2,29 @@ +Wed Jan 25 07:52:51 CET 2017 - ti...@suse.de + +- Update to criu 2.10: + New features: + * C/R of SOCK_PACKET sockets + * Libsoccr -- library for C/R of TCP sockets + Optimizations/improvements: + * Logs cleaned up (removed bunch of useless, fixed '\n' in +perrors) + * Action scripts errors are printed in logs + * Removed several iovec-s copying over the pagemap code + * Restore degraded linearly on Xen guests. Breakpoints disabled +until solution + Fixes: + * Py bindings fault on restore error delivery + * Fd leaked on file restore error path + * Fd leaked when restoring invisible files (gets closed with criu +exit though) + * Link remap restore could fail on kernels 4.8 and higher + * Impossible to restore after restore error with link remap file +in images + * When going daemon a descriptor could be leaked + * Custom setting of mmap_min_addr could make restore to fail + * Sending pages over UNIX socket could race and fail with EAGAIN + * Error getting ID of /proc/pid/ns/foo link not propagated and +could result in bogus NS ID generated +- Add libnet-devel to buildreq for dependency + +--- Old: criu-2.9.tar.bz2 New: criu-2.10.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.XyAdgd/_old 2017-02-03 17:35:03.707115157 +0100 +++ /var/tmp/diff_new_pack.XyAdgd/_new 2017-02-03 17:35:03.74591 +0100 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,7 +17,7 @@ Name: criu -Version:2.9 +Version:2.10 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -29,6 +29,7 @@ BuildRequires: libbsd-devel %endif BuildRequires: libcap-devel +BuildRequires: libnet-devel BuildRequires: libnl3-devel BuildRequires: pkg-config BuildRequires: protobuf-c ++ criu-2.9.tar.bz2 -> criu-2.10.tar.bz2 ++ 8458 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-11-15 18:01:38 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-10-19 13:15:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-11-15 18:01:39.0 +0100 @@ -1,0 +2,30 @@ +Mon Nov 14 16:28:06 CET 2016 - ti...@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 + +--- Old: criu-2.7.tar.bz2 New: criu-2.8.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.qVuFr0/_old 2016-11-15 18:01:40.0 +0100 +++ /var/tmp/diff_new_pack.qVuFr0/_new 2016-11-15 18:01:40.0 +0100 @@ -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 @@ %prep %setup -q +# default off +echo "BINFMT_MISC_VIRTUALIZED" > .config %build export CFLAGS="%{optflags}" ++ criu-2.7.tar.bz2 -> criu-2.8.tar.bz2 ++ 11841 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-10-19 13:14:54 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-09-17 14:40:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-10-19 13:15:34.0 +0200 @@ -1,0 +2,30 @@ +Tue Oct 18 17:40:14 CEST 2016 - ti...@suse.de + +- Update to criu 2.7: + New features: + * Option --cgroup-root now makes sense on dump too + * CLOCK_BOOTTIME timer supported + Optimizations/improvements: + * Output of iptables command leaked into logs for no use + * Helper dev environment installation script for Debian + * Man-page updated and prettified :) + Fixes: + * Unmounted binfmt_misc with rules wasn't dumped at all + * Malloc() error could result in crash + * Device cgroup restore could fail restoring empty record + * Some entries in device cgroups were restored twice + * Potential crash when dumping cgroup bindmounts + * Sign error caused dump to fail on btrfs partitions + * Shared mounts with the same mount path failed the dump + * Threads were restored with unshared FS (cwd and root) + * Shared memory changes tracking disabled (regression found) + * Restore of autofs can hang + * LSM profile propagation could be lost + * Mountpoint with lots of options blocked the dump (too small +buffer for parsing) + * External slave mount (with external master) blocked the dump + * Mounts with STRICTATIME restored with others flags dropped + Deprecated: + * No reg-file entry for TTYs + +--- Old: criu-2.6.tar.bz2 New: criu-2.7.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.Yrf6r1/_old 2016-10-19 13:15:36.0 +0200 +++ /var/tmp/diff_new_pack.Yrf6r1/_new 2016-10-19 13:15:36.0 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.6 +Version:2.7 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.6.tar.bz2 -> criu-2.7.tar.bz2 ++ 6795 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-09-17 14:40:34 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-08-24 10:09:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-09-17 14:40:36.0 +0200 @@ -1,0 +2,29 @@ +Thu Sep 15 22:36:21 CEST 2016 - ti...@suse.de + +- Update to criu 2.6: + New features: + * Ability to leave process stopped after restore + * Memory changes tracking for anonymous shared memory + * Deprecation option/environment + * First error message is reported back via RPC + * C/R of More IPCNS sysctls, xIDs of PTYs, TMEM on PPC64LE + Optimizations/improvements: + * Use service FD for transport sockets on restore + * Ability to turn pagemap-cache off (some kernels are buggy) + * The criu --help text has become better + Fixes: + * R/O-mounted root could block the dump + * Restore of cgroup.mm.oom_control could fail + * Cgroup fs bind mounts were detected with error + * Unaligned futex-es in parasite could cause dump to crash + * When compiled with gcc-4.9 parasite code crashed + * Failure to freeze cgroup didn't result in aborting of dump + * Wrong ns list was parsed when dumping userns (invisible +since nesting works only for mntns) + * Non-inheritable non-tty as stdin caused shell-job restore +to erroneously fail Error path in criu dedup could crash + Deprecated: + * Per-pid rlimit, itimers and posix-timers + * Separate image for epoll tfds (target file descriptors) + +--- Old: criu-2.5.tar.bz2 New: criu-2.6.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.6EDCsh/_old 2016-09-17 14:40:37.0 +0200 +++ /var/tmp/diff_new_pack.6EDCsh/_new 2016-09-17 14:40:37.0 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.5 +Version:2.6 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.5.tar.bz2 -> criu-2.6.tar.bz2 ++ 5773 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-08-24 10:09:18 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-07-14 09:49:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-08-24 10:09:20.0 +0200 @@ -1,0 +2,37 @@ +Tue Aug 23 17:00:30 CEST 2016 - ti...@suse.de + +- Update to criu 2.5: + New features: + * C/R of fs.mqueue.msg*_default sysctls, Unix sockets with +overwritten paths, and Link-remap files in removed directories + Optimizations/improvements: + * Micro-optimization on namespace ID evaluation + * Restoring shared files uses one socket instead of per-fd ones + * More verbosity when refusing to dump a file descriptor + Fixes: + * Restore could fail on openat() with ENXIO when multiple mnt +namespaces get restored + * The criu exec action got broken + * Link-remap and ghost files remained on FS after restore failure + * TCP window could remain clamped after restore resulting in +connection lockup/slowdown + * Dump could stuck when injecting a parasite + * The --timeout option wasn't taken into account when freezing +tasks using freezecg + * Race in freezeing/seizing could result in lost tasks + * Memory leaks here and there on error paths + * Double free in xvstrcat (crash) + * VDSO length was mis-calculated + * Symlink on --root path could make restore erroneously fail + * Potential memory corruption on reading mntns images + * When restoring on systems with low pid_max limit restore could +fail + * RO-protected SysV shmem segments could be restored with +PROT_EXEC + * File mode of mapped file was evaluated with errors + * Restore of cgroups' mem.swappines and ..use_hierarchy blocked +sub-groups creation + * Impossible to restore cgoup mem.swappines default value + * Zombies living in orphan sessions/groups failed the restore + +--- Old: criu-2.4.tar.bz2 New: criu-2.5.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.80kVt5/_old 2016-08-24 10:09:21.0 +0200 +++ /var/tmp/diff_new_pack.80kVt5/_new 2016-08-24 10:09:21.0 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.4 +Version:2.5 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.4.tar.bz2 -> criu-2.5.tar.bz2 ++ 5090 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-07-14 09:49:34 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-06-19 10:49:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-07-14 09:49:42.0 +0200 @@ -1,0 +2,39 @@ +Tue Jul 12 12:10:20 CEST 2016 - ti...@suse.de + +- Update to criu 2.4: + New features: + * Generate core from images + * Ability to forcibly drop half-open TCP connections on C/R + * Ability to specify cgroup ctls to dump via API +Opened/mapped files' mode is compared between dump and restore +times + * AutoFS mountpoints + * New cgroups (perf_event, net_cls, net_prio and pids) + * Memcgroup optional properties + * Devices cgroup + Optimizations/improvements: + * Pagemap image entries are cached in memory + Fixes: + * Configured kmem cgroup limit restore failed + * Mem cgroup oom_control + * Cgroup's pids.max was not C/R-ed + * Failure to write cgroup property was ignored + * No init PID in pre-dump action script + * Sigactions inheritance didn't work on ARM + * Opened "/proc" dir blocked the dump + * Working with iptables was racy + * Sibling mounts detection error on dump + * Devconf accept_redirects devconf could be restored with errors + * "All" devconfs could be overridden by "Default" + * Name-less unix sockets got auto-bound + * Mode was lost for PTY device file on restore + * Newer protobuf compilers didn't recognize PB files + * External mounts could be remounted with MS_PRIVATE + * Build fail on Alpine Linux + Deprecated/removed: + * Per-pid file locks images + * Per-pid fdinfo images + * Ancient pagemap/pages images +- Enable builds on 32bit ARM + +--- Old: criu-2.3.tar.bz2 New: criu-2.4.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.PQMimt/_old 2016-07-14 09:49:43.0 +0200 +++ /var/tmp/diff_new_pack.PQMimt/_new 2016-07-14 09:49:43.0 +0200 @@ -17,7 +17,7 @@ Name: criu -Version:2.3 +Version:2.4 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -37,7 +37,7 @@ Requires: python-ipaddr Requires: python-protobuf BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 aarch64 ppc64le +ExclusiveArch: x86_64 aarch64 ppc64le %{arm} %description Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux @@ -72,11 +72,11 @@ %build export CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} + LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} %install make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} \ + LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \ DESTDIR=%{buildroot} install # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools @@ -92,6 +92,7 @@ %{_sbindir}/* %{_bindir}/* %{_mandir}/man*/* +%{_libexecdir}/criu /usr/lib/python*/site-packages/crit-*.egg-info /usr/lib/python*/site-packages/pycriu ++ criu-2.3.tar.bz2 -> criu-2.4.tar.bz2 ++ 13320 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-06-19 10:49:34 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-05-19 12:15:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-06-19 10:49:36.0 +0200 @@ -1,0 +2,28 @@ +Wed Jun 15 08:19:40 CEST 2016 - ti...@suse.de + +- Update to criu 2.3: + New features + * Ability not to show payload for some objects in CRIT + * Pidfile is written at the end of restore + * Ability to join existing namespaces on restore + * C/R of Data sitting in TTYs, Partially write-protected SysVIPC +segments, Debugfs and tracefs mounts, Overmounted tmpfs, IPv6 +devconf sysctls, External block devices, Unix sockets with +mismatched shutdown state + Optimizations/improvements: + * Relaxed calculation of AIO ring size + * Tree-based search of tasks by real pid + * Less mem-to-mem copies on restore + * Saner devconf image format + * More verbose explanation of why task cannot be seized + * PID is printed in PIE logs + Fixes: + * Too many mmap-ed files blocked the dump + * Potential memory corruption when working with IPv6 sockets + * Overmounted bind mounts could cause restore to fail + * Overmounted bind mounts could result in badly restored mount tree + * Incomplete restoration of RO bind mounts options + Deprecated/removed: + * Greedy mode of pagemap (non-root) caused dump to fail (disabled) + +--- Old: criu-2.2.tar.bz2 New: criu-2.3.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.jnmMJh/_old 2016-06-19 10:49:37.0 +0200 +++ /var/tmp/diff_new_pack.jnmMJh/_new 2016-06-19 10:49:37.0 +0200 @@ -16,15 +16,14 @@ # -%define package_version 2.2 Name: criu -Version:2.2 +Version:2.3 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ -Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 +Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 BuildRequires: asciidoc %if 0%{suse_version} > 1320 BuildRequires: libbsd-devel @@ -68,7 +67,7 @@ to develop applications with CRIU library. %prep -%setup -q -n %{name}-%{package_version} +%setup -q %build export CFLAGS="%{optflags}" ++ criu-2.2.tar.bz2 -> criu-2.3.tar.bz2 ++ 10105 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-05-19 12:15:01 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-04-15 19:12:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-05-19 12:15:04.0 +0200 @@ -1,0 +2,28 @@ +Tue May 17 14:03:06 CEST 2016 - ti...@suse.de + +- Update to criu 2.2: mostly bugfixes + New features: + * "Post-resume" added to action scripts + * Root task's PID in environment for action scripts + * Devconfs drop_gratuitous_arp and drop_unicast_in_l2_multicast + * Serial ttys + Optimizations/improvements + * Lighter link-remaps restore on newer kernels + Fixes: + * Race when restoring userns vs setting ns' maps + * Tasks with zero fds failed the dump + * Restore of TCP recv queue could fail due to kernel mem alloc +constraints + * No errors were written to logs when launching helper +(tar/iptables) app in userns restore + * User-mode dumped no memory pages sometimes + * Bind mounts considered not as bind sometimes + * Two mounts in the same directory blocked the dump + * Off-by in on /dev/tty{1,63} dumping + * Forking of cgroupns task was done with screwed clone flags + Deprecated/removed: + * Greedy mode of pagemap dumping (on some kernels we do not +support user-mode) + * Removed the --namespaces option + +--- Old: criu-2.1.tar.bz2 New: criu-2.2.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.QHI9vW/_old 2016-05-19 12:15:05.0 +0200 +++ /var/tmp/diff_new_pack.QHI9vW/_new 2016-05-19 12:15:05.0 +0200 @@ -16,9 +16,9 @@ # -%define package_version 2.1 +%define package_version 2.2 Name: criu -Version:2.1 +Version:2.2 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.1.tar.bz2 -> criu-2.2.tar.bz2 ++ 1881 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-04-15 19:12:15 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2016-03-16 10:34:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-04-15 19:12:17.0 +0200 @@ -1,0 +2,43 @@ +Tue Apr 12 16:35:06 CEST 2016 - ti...@suse.de + +- Update to criu 2.1: + New features: + * Checking now classifies features to important/extra/experimental + * Ability to bring some disk files into images. + * C/R of Completed AIO requests and fallback gre and gretap net +devices + Optimizations/improvements: + * Code coverage collecting now works + * Use native rtnl library for netlink messages processing + * Using --output - now results in stdout as log, not a file with +the name "-" + * Signals are printed by names in logs + Fixes: + * Make tar generated tarbal with bad name + * CG restore code lacked rollback in some places + * Error code from raw syscalls was treated with errors resulting +in wrong criu check reports + * Dumping task with HUGE amount of file descriptors failed + * Task could be stopped after pre-dump if respective option was used + * A /proc/pid directory from dead process conflicting with a new +alive one could cause dump to fail + * Zombie from alien session/process group caused restore to fail + * CGroup fs was wrongly mounted in CGNS on restore + * Irmap scan was mis-checking devices numbers + * Use-after-free in irmap scan + * Btrfs bindmounts detection was mistaken due to 'subvol=' options +met + * Propagation of mountpoint's shared groups was lost for +propagated mounts + * Unaligned allocations of restore shared memory could result in +codedumps when used by futexes + * Temporary mountpoints could result in spurious propagations + * When aborting the dump criu could crash on use-after-free objects + * Locking the network could stuck doing the DNS resolve + * Several build fixes + Deprecated/removed + * The images from criu prior to 0.4 are deprecated + * The --namespaces option makes no sense and is also deprecated + * The --ms option for check action is deprecated + +--- Old: criu-2.0.tar.bz2 New: criu-2.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.oSDJBe/_old 2016-04-15 19:12:18.0 +0200 +++ /var/tmp/diff_new_pack.oSDJBe/_new 2016-04-15 19:12:18.0 +0200 @@ -16,9 +16,9 @@ # -%define package_version 2.0 +%define package_version 2.1 Name: criu -Version:2.0 +Version:2.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-2.0.tar.bz2 -> criu-2.1.tar.bz2 ++ 7462 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2016-03-16 10:34:45 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-12-09 22:14:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2016-03-16 10:34:47.0 +0100 @@ -1,0 +2,46 @@ +Wed Mar 9 20:43:04 CET 2016 - ti...@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. + +--- Old: criu-1.8.tar.bz2 New: criu-2.0.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.HPSyT4/_old 2016-03-16 10:34:48.0 +0100 +++ /var/tmp/diff_new_pack.HPSyT4/_new 2016-03-16 10:34:48.0 +0100 @@ -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 @@ 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 @@ %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}" ++ criu-1.8.tar.bz2 -> criu-2.0.tar.bz2 ++ 221853 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-12-09 19:54:08 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-11-22 11:02:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-12-09 22:14:35.0 +0100 @@ -1,0 +2,20 @@ +Tue Dec 8 12:01:05 CET 2015 - ti...@suse.de + +- Update to criu 1.8: + * Ability to check CRIU features via RPC + * Pre-dump and pre-restore action scripts + * The "info" action in CRIT showing stats about image file + * Python API + * C/R of read-only bind mounts, IPv6 routes and iptables rules, +ip rules (it ip tool supports such), ignore_routes_with_linkdown +netns devconf, empty bridges in netns, FILTER mode of seccomp, +and IP_FREEBIND socket option + * Lots of fixes, two security fixes +Service run as root could allow users to violate ptrace policies +Service run as root could give users access to privileged files +and directories +- Remove superfluous dependencies +- Clean up spec file, as systemd and logrotate supports have been + officially dropped + +--- Old: criu-1.7.2.tar.bz2 New: criu-1.8.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.HWY0Cr/_old 2015-12-09 22:14:36.0 +0100 +++ /var/tmp/diff_new_pack.HWY0Cr/_new 2015-12-09 22:14:36.0 +0100 @@ -16,10 +16,9 @@ # -%define with_systemd_service 0 -%define package_version 1.7.2 +%define package_version 1.8 Name: criu -Version:1.7.2 +Version:1.8 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -31,8 +30,6 @@ BuildRequires: protobuf-c BuildRequires: protobuf-devel BuildRequires: xmlto -BuildRequires: pkgconfig(systemd) -Requires: logrotate Requires: python-protobuf BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 aarch64 ppc64le @@ -73,42 +70,15 @@ %build export CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} \ - LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ + LIBDIR=%{_libdir} %install -mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ - LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ \ DESTDIR=%{buildroot} install -# make rpmlint happy -mv %{buildroot}%{_sysconfdir}/logrotate.d/criu-service \ -%{buildroot}%{_sysconfdir}/logrotate.d/criu # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 -%if !%with_systemd_service -rm -f %{buildroot}%{_unitdir}/criu.* -%endif - -%if %with_systemd_service -%pre -%service_add_pre criu.service criu.socket -exit 0 - -%preun -%service_del_preun criu.service criu.socket -exit 0 - -%post -%service_add_post criu.service criu.socket -exit 0 - -%postun -%service_del_postun criu.service criu.socket -exit 0 -%endif %post -n libcriu1 -p /sbin/ldconfig @@ -120,10 +90,6 @@ %{_sbindir}/* %{_bindir}/* %{_mandir}/man*/* -%if %with_systemd_service -%{_unitdir}/criu.* -%endif -%config %{_sysconfdir}/logrotate.d/* /usr/lib/python*/site-packages/crit-*.egg-info /usr/lib/python*/site-packages/pycriu ++ criu-1.7.2.tar.bz2 -> criu-1.8.tar.bz2 ++ 28233 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-11-22 11:00:55 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-09-13 09:45:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-11-22 11:02:55.0 +0100 @@ -1,0 +2,10 @@ +Thu Nov 19 16:10:29 CET 2015 - ti...@suse.de + +- update to criu 1.7.1: + Fixes in mounts, notifies and userns found while testing openvz +- update to criu 1.7.2: + Fixes for IPC in userns, venet C/R, socket buffers overflow and + unix sockets name off-by-one +- Add the package dependency on python-protobuf + +--- Old: criu-1.7.tar.bz2 New: criu-1.7.2.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.CzW065/_old 2015-11-22 11:02:56.0 +0100 +++ /var/tmp/diff_new_pack.CzW065/_new 2015-11-22 11:02:56.0 +0100 @@ -17,9 +17,9 @@ %define with_systemd_service 0 -%define package_version 1.7 +%define package_version 1.7.2 Name: criu -Version:1.7 +Version:1.7.2 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -33,6 +33,7 @@ BuildRequires: xmlto BuildRequires: pkgconfig(systemd) Requires: logrotate +Requires: python-protobuf BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 aarch64 ppc64le ++ criu-1.7.tar.bz2 -> criu-1.7.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.7/Makefile new/criu-1.7.2/Makefile --- old/criu-1.7/Makefile 2015-09-07 11:26:32.0 +0200 +++ new/criu-1.7.2/Makefile 2015-10-28 08:30:29.0 +0100 @@ -1,6 +1,6 @@ VERSION_MAJOR := 1 VERSION_MINOR := 7 -VERSION_SUBLEVEL := +VERSION_SUBLEVEL := 2 VERSION_EXTRA := VERSION_NAME := VERSION_SO_MAJOR := 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.7/cr-restore.c new/criu-1.7.2/cr-restore.c --- old/criu-1.7/cr-restore.c 2015-09-07 11:26:32.0 +0200 +++ new/criu-1.7.2/cr-restore.c 2015-10-28 08:30:29.0 +0100 @@ -1915,9 +1915,15 @@ * otherwise an external proccesses can be killed. */ if (root_ns_mask & CLONE_NEWPID) { + int status; + /* Kill init */ if (root_item->pid.real > 0) kill(root_item->pid.real, SIGKILL); + + if (waitpid(root_item->pid.real, , 0) < 0) + pr_warn("Unable to wait %d: %s", + root_item->pid.real, strerror(errno)); } else { struct pstree_item *pi; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.7/fsnotify.c new/criu-1.7.2/fsnotify.c --- old/criu-1.7/fsnotify.c 2015-09-07 11:26:32.0 +0200 +++ new/criu-1.7.2/fsnotify.c 2015-10-28 08:30:29.0 +0100 @@ -107,6 +107,90 @@ return sys_open_by_handle_at(fd, arg, O_PATH); } +static char *alloc_openable(unsigned int s_dev, unsigned long i_ino, FhEntry *f_handle) +{ + struct mount_info *m; + fh_t handle; + int fd = -1; + char *path; + + decode_handle(, f_handle); + + /* +* We gonna try to open the handle and then +* depending on command line options and type +* of the filesystem (tmpfs/devtmpfs do not +* preserve their inodes between mounts) we +* might need to find out an openable path +* get used on restore as a watch destination. +*/ + for (m = mntinfo; m; m = m->next) { + char buf[PATH_MAX], *__path; + int mntfd, openable_fd; + struct stat st; + + if (m->s_dev != s_dev) + continue; + + mntfd = __open_mountpoint(m, -1); + pr_debug("\t\tTrying via mntid %d root %s ns_mountpoint @%s (%d)\n", +m->mnt_id, m->root, m->ns_mountpoint, mntfd); + if (mntfd < 0) + continue; + + fd = userns_call(open_by_handle, UNS_FDOUT, , +sizeof(handle), mntfd); + close(mntfd); + if (fd < 0) + continue; + + if (read_fd_link(fd, buf, sizeof(buf)) < 0) { + close(fd); + goto
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-09-13 09:45:15 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is "criu" Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-08-01 11:39:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-09-13 09:45:24.0 +0200 @@ -1,0 +2,27 @@ +Fri Sep 11 16:06:30 CEST 2015 - ti...@suse.de + +- Disable systemd service as a temporary workaround for possibile + security issues (CVE-2015-5228, CVE-2015-5231, bsc#943105) +- Update to criu 1.7: + * Improved cgroups management + * Support for seccomp strict mode + * Support for stream unix sockets inheritance + * Support uid/gid-restricted mounts in userns + * Support deleted bind-mounts + * Ability to specify maximum ghost file size + * OverlayFS support + * Support relative unix sockets' bind paths + * Altivec and PSX support for PPC + * Small PIE loader + * Temporary proc mountpoint is mounted with nosuid, noexec and nodev + * Less memory copies when preparing restorer binary + * CRIT action "show" for less keystrokes on common use-case + * Fsnotify log messages now use hex everywhere :) + * CRIT output doesn't mix fields any more + * Many fixes +- Drop obsoleted patches: + crit-install-prefix.diff + lsm-prototype-fix.diff + 4c5b23e5-criu.pc.diff + +--- Old: 4c5b23e5-criu.pc.diff crit-install-prefix.diff criu-1.6.tar.bz2 lsm-prototype-fix.diff New: criu-1.7.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.N2r5jJ/_old 2015-09-13 09:45:24.0 +0200 +++ /var/tmp/diff_new_pack.N2r5jJ/_new 2015-09-13 09:45:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,18 +16,16 @@ # -%define package_version 1.6 +%define with_systemd_service 0 +%define package_version 1.7 Name: criu -Version:1.6 +Version:1.7 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 -Patch1: crit-install-prefix.diff -Patch2: lsm-prototype-fix.diff -Patch3: 4c5b23e5-criu.pc.diff BuildRequires: asciidoc BuildRequires: pkg-config BuildRequires: protobuf-c @@ -67,9 +65,6 @@ %prep %setup -q -n %{name}-%{package_version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 # 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 @@ -92,7 +87,11 @@ # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 +%if !%with_systemd_service +rm -f %{buildroot}%{_unitdir}/criu.* +%endif +%if %with_systemd_service %pre %service_add_pre criu.service criu.socket exit 0 @@ -108,6 +107,7 @@ %postun %service_del_postun criu.service criu.socket exit 0 +%endif %post -n libcriu1 -p /sbin/ldconfig @@ -119,7 +119,9 @@ %{_sbindir}/* %{_bindir}/* %{_mandir}/man*/* +%if %with_systemd_service %{_unitdir}/criu.* +%endif %config %{_sysconfdir}/logrotate.d/* /usr/lib/python*/site-packages/crit-*.egg-info /usr/lib/python*/site-packages/pycriu ++ criu-1.6.tar.bz2 -> criu-1.7.tar.bz2 ++ 14277 lines of diff (skipped)
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-08-01 11:39:13 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-06-02 10:11:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-08-01 11:39:14.0 +0200 @@ -1,0 +2,6 @@ +Fri Jul 31 07:47:22 UTC 2015 - cbosdon...@suse.com + +- Fix version in criu.pc file. + 4c5b23e5-criu.pc.diff + +--- New: 4c5b23e5-criu.pc.diff Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.fSRXHH/_old 2015-08-01 11:39:14.0 +0200 +++ /var/tmp/diff_new_pack.fSRXHH/_new 2015-08-01 11:39:14.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 Patch1: crit-install-prefix.diff Patch2: lsm-prototype-fix.diff +Patch3: 4c5b23e5-criu.pc.diff BuildRequires: asciidoc BuildRequires: pkg-config BuildRequires: protobuf-c @@ -68,6 +69,7 @@ %setup -q -n %{name}-%{package_version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 # 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 ++ 4c5b23e5-criu.pc.diff ++ From 4c5b23e52c1dc4e3fbbc7472b92e7b1ce9d22f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= cbosdon...@suse.com Date: Thu, 30 Jul 2015 18:44:00 +0300 Subject: [PATCH] Fix criu.pc version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use CRTOOLSVERSION instead of GITID to write criu.pc version. With GITID, criu.pc had version '0' when built from tarballs. Signed-off-by: Cédric Bosdonnat cbosdon...@suse.com Acked-by: Tycho Andersen tycho.ander...@canonical.com Signed-off-by: Pavel Emelyanov xe...@parallels.com --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ed4c90..7f5c890 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ install-criu: $(PROGRAM) $(CRIU-LIB) install-crit $(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR) $(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR) $(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR) - $(Q) sed -e 's,@version@,$(GITID),' \ + $(Q) sed -e 's,@version@,$(CRTOOLSVERSION),' \ -e 's,@libdir@,$(LIBDIR),' \ -e 's,@includedir@,$(dir $(INCLUDEDIR)),' \ lib/criu.pc.in criu.pc -- 2.1.4
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-06-02 10:11:32 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-04-30 11:50:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-06-02 10:11:34.0 +0200 @@ -1,0 +2,21 @@ +Mon Jun 1 15:26:56 CEST 2015 - ti...@suse.de + +- update to version 1.6: + * PowerPC 64bit LE support + * Makefile.local for 3-rd party build rules + * Ability to enable filesystem on dump (--enable-fs) + * Ability to skip mountpoint on dump (--skip-mnt) + * Prepare to deprecate criu show command + * External mounts auto-detection + * /dev/tty (current terminal) support + * Netdev and netns (all/default) confs C/R + * Images v1.1 with extra magic at head + * Support fusectl (only ctl) mountpoint + * Sub-version format is now as of git-describe + * Apparamor labels C/R support +- Fix library path for aarch64 and ppc64le +- Fix the prototype for lsm.c (to fix build errors): + lsm-prototype-fix.diff +- Refreshed crit-install-prefix.diff + +--- Old: criu-1.5.2.tar.bz2 New: criu-1.6.tar.bz2 lsm-prototype-fix.diff Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.4GgK3Q/_old 2015-06-02 10:11:35.0 +0200 +++ /var/tmp/diff_new_pack.4GgK3Q/_new 2015-06-02 10:11:35.0 +0200 @@ -16,9 +16,9 @@ # -%define package_version 1.5.2 +%define package_version 1.6 Name: criu -Version:1.5.2 +Version:1.6 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -26,6 +26,7 @@ Url:http://criu.org/ Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 Patch1: crit-install-prefix.diff +Patch2: lsm-prototype-fix.diff BuildRequires: asciidoc BuildRequires: pkg-config BuildRequires: protobuf-c @@ -34,7 +35,7 @@ BuildRequires: pkgconfig(systemd) Requires: logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 aarch64 +ExclusiveArch: x86_64 aarch64 ppc64le %description Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux @@ -66,17 +67,22 @@ %prep %setup -q -n %{name}-%{package_version} %patch1 -p1 +%patch2 -p1 # 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} -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ %install mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ \ +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ \ DESTDIR=%{buildroot} install # make rpmlint happy mv %{buildroot}%{_sysconfdir}/logrotate.d/criu-service \ @@ -107,7 +113,7 @@ %files %defattr(-,root,root) -%doc README COPYING +%doc README.md COPYING %{_sbindir}/* %{_bindir}/* %{_mandir}/man*/* ++ crit-install-prefix.diff ++ --- /var/tmp/diff_new_pack.4GgK3Q/_old 2015-06-02 10:11:35.0 +0200 +++ /var/tmp/diff_new_pack.4GgK3Q/_new 2015-06-02 10:11:35.0 +0200 @@ -1,12 +1,14 @@ -diff --git a/Makefile b/Makefile -index 2a63f0477d08..d704a06446d5 100644 +--- + Makefile |2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + --- a/Makefile +++ b/Makefile -@@ -289,7 +289,7 @@ install-man: +@@ -314,7 +314,7 @@ install-man: install-crit: crit $(E) INSTALL crit -- $(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR) +- $(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) + $(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX) .PHONY: install install-man install-crit ++ criu-1.5.2.tar.bz2 - criu-1.6.tar.bz2 ++ 14133 lines of diff (skipped) ++ lsm-prototype-fix.diff ++ --- include/lsm.h |6 +++--- lsm.c |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/include/lsm.h +++ b/include/lsm.h @@ -7,12 +7,12 @@ /* * Get the Lsmtype for the current host. */ -extern Lsmtype host_lsm_type(); +extern Lsmtype host_lsm_type(void); /* * Initilize the
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-04-30 11:50:47 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2015-04-10 09:51:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-04-30 11:50:47.0 +0200 @@ -1,0 +2,8 @@ +Tue Apr 28 11:54:14 CEST 2015 - ti...@suse.de + +- update to version 1.5.2: + * fix error in mutli-threaded tasks restore with --restore-sibling +(Docker and LXC cases) + * fix too big RPC messages error for service (and swrk) + +--- Old: criu-1.5.1.tar.bz2 New: criu-1.5.2.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.fQETpm/_old 2015-04-30 11:50:49.0 +0200 +++ /var/tmp/diff_new_pack.fQETpm/_new 2015-04-30 11:50:49.0 +0200 @@ -16,9 +16,9 @@ # -%define package_version 1.5.1 +%define package_version 1.5.2 Name: criu -Version:1.5.1 +Version:1.5.2 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-1.5.1.tar.bz2 - criu-1.5.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.5.1/Makefile new/criu-1.5.2/Makefile --- old/criu-1.5.1/Makefile 2015-03-31 20:19:21.0 +0200 +++ new/criu-1.5.2/Makefile 2015-04-28 08:07:09.0 +0200 @@ -1,6 +1,6 @@ VERSION_MAJOR := 1 VERSION_MINOR := 5 -VERSION_SUBLEVEL := 1 +VERSION_SUBLEVEL := 2 VERSION_EXTRA := VERSION_NAME := VERSION_SO_MAJOR := 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.5.1/cr-restore.c new/criu-1.5.2/cr-restore.c --- old/criu-1.5.1/cr-restore.c 2015-03-31 20:19:21.0 +0200 +++ new/criu-1.5.2/cr-restore.c 2015-04-28 08:07:09.0 +0200 @@ -1582,7 +1582,7 @@ for (i = 0; i item-nr_threads; i++) { pid = item-threads[i].real; - if (item != root_item || !root_seized) { + if (item != root_item || !root_seized || i != 0) { if (ptrace(PTRACE_ATTACH, pid, 0, 0)) { pr_perror(Can't attach to %d, pid); return -1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.5.1/cr-service.c new/criu-1.5.2/cr-service.c --- old/criu-1.5.1/cr-service.c 2015-03-31 20:19:21.0 +0200 +++ new/criu-1.5.2/cr-service.c 2015-04-28 08:07:09.0 +0200 @@ -7,6 +7,7 @@ #include stdlib.h #include errno.h #include string.h +#include alloca.h #include sys/types.h #include sys/socket.h #include sys/un.h @@ -36,12 +37,20 @@ unsigned int service_sk_ino = -1; -static int recv_criu_msg(int socket_fd, CriuReq **msg) +static int recv_criu_msg(int socket_fd, CriuReq **req) { - unsigned char buf[CR_MAX_MSG_SIZE]; + unsigned char *buf; int len; - len = read(socket_fd, buf, CR_MAX_MSG_SIZE); + len = recv(socket_fd, NULL, 0, MSG_TRUNC | MSG_PEEK); + if (len == -1) { + pr_perror(Can't read request); + return -1; + } + + buf = alloca(len); + + len = recv(socket_fd, buf, len, MSG_TRUNC); if (len == -1) { pr_perror(Can't read request); return -1; @@ -53,8 +62,8 @@ return -1; } - *msg = criu_req__unpack(NULL, len, buf); - if (!*msg) { + *req = criu_req__unpack(NULL, len, buf); + if (!*req) { pr_perror(Failed unpacking request); return -1; } @@ -64,11 +73,13 @@ static int send_criu_msg(int socket_fd, CriuResp *msg) { - unsigned char buf[CR_MAX_MSG_SIZE]; + unsigned char *buf; int len; len = criu_resp__get_packed_size(msg); + buf = alloca(len); + if (criu_resp__pack(msg, buf) != len) { pr_perror(Failed packing response); return -1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.5.1/include/cr-service-const.h new/criu-1.5.2/include/cr-service-const.h --- old/criu-1.5.1/include/cr-service-const.h 2015-03-31 20:19:21.0 +0200 +++ new/criu-1.5.2/include/cr-service-const.h 2015-04-28 08:07:09.0 +0200 @@ -1,7 +1,6 @@ #ifndef __CR_SERVICE_CONST_H__ #define
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2015-03-16 09:42:13 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-12-03 22:48:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2015-03-16 09:42:15.0 +0100 @@ -1,0 +2,18 @@ +Fri Mar 13 10:10:07 CET 2015 - ti...@suse.de + +- update to version 1.5: New features + * CRIT tool + * ability to request CPU compatibility on instructions level only + * C/R of empty AIO rings + * more detailed errno report via RPC + * per-feature criu check + * inheriting FDs on restore + * ability to automatically move veth device to host-side bridge +on netns restore + * VT terminals support + * more user namespaces C/R stuff + See more details at http://criu.org/Releases#v._1.5 +- fix installation of crit: + crit-install-prefix.diff + +--- Old: criu-1.4.tar.bz2 New: crit-install-prefix.diff criu-1.5.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.cM6wtD/_old 2015-03-16 09:42:16.0 +0100 +++ /var/tmp/diff_new_pack.cM6wtD/_new 2015-03-16 09:42:16.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,18 +16,20 @@ # -%define package_version 1.4 +%define package_version 1.5 Name: criu -Version:1.4 +Version:1.5 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 +Patch1: crit-install-prefix.diff BuildRequires: asciidoc BuildRequires: pkg-config BuildRequires: protobuf-c +BuildRequires: protobuf-devel BuildRequires: xmlto BuildRequires: pkgconfig(systemd) Requires: logrotate @@ -63,6 +65,7 @@ %prep %setup -q -n %{name}-%{package_version} +%patch1 -p1 %build export CFLAGS=%{optflags} @@ -103,9 +106,12 @@ %defattr(-,root,root) %doc README COPYING %{_sbindir}/* +%{_bindir}/* %{_mandir}/man*/* %{_unitdir}/criu.* %config %{_sysconfdir}/logrotate.d/* +/usr/lib/python*/site-packages/crit-*.egg-info +/usr/lib/python*/site-packages/pycriu %files -n libcriu1 %defattr(-,root,root) ++ crit-install-prefix.diff ++ diff --git a/Makefile b/Makefile index 2a63f0477d08..d704a06446d5 100644 --- a/Makefile +++ b/Makefile @@ -289,7 +289,7 @@ install-man: install-crit: crit $(E) INSTALL crit - $(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR) + $(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX) .PHONY: install install-man install-crit ++ criu-1.4.tar.bz2 - criu-1.5.tar.bz2 ++ 9555 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-09-19 13:56:12 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-09-03 19:38:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-09-19 15:45:15.0 +0200 @@ -1,0 +2,11 @@ +Mon Sep 15 13:43:00 CEST 2014 - ti...@suse.de + +- update to version 1.3.1, a stable releasing fixing below: + * Sibling restore mode didn't set up CRIU signals properly + * Unpredictable sibling/child root task restore. Fixed with +explicit CLI option + * Validation for leaf mount points was skipped + * Mount options were corrupted on dump, which resulted in errors +bind mounts detection + +--- Old: criu-1.3.tar.bz2 New: criu-1.3.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.S89hvT/_old 2014-09-19 15:45:16.0 +0200 +++ /var/tmp/diff_new_pack.S89hvT/_new 2014-09-19 15:45:16.0 +0200 @@ -16,9 +16,9 @@ # -%define package_version 1.3 +%define package_version 1.3.1 Name: criu -Version:1.3 +Version:1.3.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 ++ criu-1.3.tar.bz2 - criu-1.3.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.3/Makefile new/criu-1.3.1/Makefile --- old/criu-1.3/Makefile 2014-09-01 12:18:37.0 +0200 +++ new/criu-1.3.1/Makefile 2014-09-12 10:14:39.0 +0200 @@ -1,6 +1,6 @@ VERSION_MAJOR := 1 VERSION_MINOR := 3 -VERSION_SUBLEVEL := +VERSION_SUBLEVEL := 1 VERSION_EXTRA := VERSION_NAME := VERSION_SO_MAJOR := 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.3/cr-restore.c new/criu-1.3.1/cr-restore.c --- old/criu-1.3/cr-restore.c 2014-09-01 12:18:37.0 +0200 +++ new/criu-1.3.1/cr-restore.c 2014-09-12 10:14:39.0 +0200 @@ -956,8 +956,13 @@ static void maybe_clone_parent(struct pstree_item *item, struct cr_clone_arg *ca) { - if (opts.swrk_restore || - (opts.restore_detach ca-core-thread_core-pdeath_sig)) { + /* +* zdtm runs in kernel 3.11, which has the problem described below. We +* avoid this by including the pdeath_sig test. Once users/zdtm migrate +* off of 3.11, this condition can be simplified to just test the +* options and not have the pdeath_sig test. +*/ + if (opts.restore_sibling) { /* * This means we're called from lib's criu_restore_child(). * In that case create the root task as the child one to+ @@ -978,6 +983,10 @@ if (item-rst-clone_flags CLONE_NEWPID) pr_warn(Set CLONE_PARENT | CLONE_NEWPID but it might cause restore problem, because not all kernels support such clone flags combinations!\n); + } else if (opts.restore_detach) { + if (ca-core-thread_core-pdeath_sig) + pr_warn(Root task has pdeath_sig configured, so it will receive one _right_ + after restore on CRIU exit\n); } } @@ -1169,18 +1178,6 @@ } act.sa_flags |= SA_NOCLDSTOP | SA_SIGINFO | SA_RESTART; - if (root_as_sibling) - /* -* Root task will be our sibling. This means, that -* we will not notice when (if) it dies in SIGCHLD -* handler, but we should. To do this -- attach to -* the guy with ptrace (below) and (!) make the kernel -* deliver us the signal when it will get stopped. -* It will in case of e.g. segfault before handling -* the signal. -*/ - act.sa_flags = ~SA_NOCLDSTOP; - act.sa_sigaction = sigchld_handler; sigemptyset(act.sa_mask); sigaddset(act.sa_mask, SIGCHLD); @@ -1668,6 +1665,20 @@ return -1; if (root_as_sibling) { + struct sigaction act; + /* +* Root task will be our sibling. This means, that +* we will not notice when (if) it dies in SIGCHLD +* handler, but we should. To do this -- attach to +* the guy with ptrace (below) and (!) make the kernel +
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-09-03 18:23:06 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-03-09 18:21:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-09-03 19:38:56.0 +0200 @@ -1,0 +2,48 @@ +Tue Sep 2 07:33:29 CEST 2014 - ti...@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 - ti...@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 - ti...@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) + +--- Old: criu-1.2.tar.bz2 New: criu-1.3.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.lx8BQ0/_old 2014-09-03 19:38:57.0 +0200 +++ /var/tmp/diff_new_pack.lx8BQ0/_new 2014-09-03 19:38:57.0 +0200 @@ -16,21 +16,23 @@ # +%define package_version 1.3 Name: criu -Version:1.2 +Version:1.3 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console 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: pkg-config BuildRequires: protobuf-c BuildRequires: xmlto BuildRequires: pkgconfig(systemd) Requires: logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 %description Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux @@ -60,7 +62,7 @@ to develop applications with CRIU library. %prep -%setup -q +%setup -q -n %{name}-%{package_version} %build export CFLAGS=%{optflags} @@ -76,8 +78,6 @@ # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 -# fix up wrong permissions -chmod 0644 %{buildroot}%{_mandir}/man*/* %pre %service_add_pre criu.service criu.socket @@ -105,7 +105,7 @@ %{_sbindir}/* %{_mandir}/man*/* %{_unitdir}/criu.* -%{_sysconfdir}/logrotate.d/* +%config %{_sysconfdir}/logrotate.d/* %files -n libcriu1 %defattr(-,root,root) @@ -115,5 +115,6 @@ %defattr(-,root,root) %{_includedir}/criu %{_libdir}/libcriu.so +%{_libdir}/pkgconfig/*.pc %changelog ++ criu-1.2.tar.bz2 - criu-1.3.tar.bz2 ++ 25079 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-03-09 18:21:50 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-02-28 18:51:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-03-09 18:21:52.0 +0100 @@ -1,0 +2,5 @@ +Sat Mar 1 09:39:03 CET 2014 - ti...@suse.de + +- Run spec-cleaner, nothing more than that. + +--- Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.kzfLiL/_old 2014-03-09 18:21:52.0 +0100 +++ /var/tmp/diff_new_pack.kzfLiL/_new 2014-03-09 18:21:52.0 +0100 @@ -23,12 +23,12 @@ License:GPL-2.0 Group: System/Console Url:http://criu.org/ -Requires: logrotate +Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 BuildRequires: asciidoc BuildRequires: protobuf-c BuildRequires: xmlto BuildRequires: pkgconfig(systemd) -Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 +Requires: logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 @@ -60,24 +60,24 @@ to develop applications with CRIU library. %prep -%setup -q -n %{name}-%{version} +%setup -q %build -export CFLAGS=%optflags -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=/etc/logrotate.d/ +export CFLAGS=%{optflags} +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ %install -mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=/etc/logrotate.d/ \ -DESTDIR=$RPM_BUILD_ROOT install +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=%{_sysconfdir}/logrotate.d/ \ +DESTDIR=%{buildroot} install # make rpmlint happy -mv $RPM_BUILD_ROOT/etc/logrotate.d/criu-service \ -$RPM_BUILD_ROOT/etc/logrotate.d/criu +mv %{buildroot}%{_sysconfdir}/logrotate.d/criu-service \ +%{buildroot}%{_sysconfdir}/logrotate.d/criu # for compatiblity -ln -s criu $RPM_BUILD_ROOT%{_sbindir}/crtools -ln -s criu.8 $RPM_BUILD_ROOT%{_mandir}/man8/crtools.8 +ln -s criu %{buildroot}%{_sbindir}/crtools +ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 # fix up wrong permissions -chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man*/* +chmod 0644 %{buildroot}%{_mandir}/man*/* %pre %service_add_pre criu.service criu.socket @@ -105,7 +105,7 @@ %{_sbindir}/* %{_mandir}/man*/* %{_unitdir}/criu.* -/etc/logrotate.d/* +%{_sysconfdir}/logrotate.d/* %files -n libcriu1 %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-02-28 18:51:30 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-01-28 15:38:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-02-28 18:51:31.0 +0100 @@ -1,0 +2,29 @@ +Wed Feb 26 17:15:26 CET 2014 - ti...@suse.de + +- Update to version 1.2: + New features: + * Performance improvements + * Library versioning + * RPC API got closer to CLI + * New post-restore call in action scripts + * Logrotate rules file + * Default log file for service when starting via systemd + Bug fixes: + * A lot for ARM cross-compile + * Fsnotifies dumping didn't work on NFS + * Images auto-deduplication only worked one level up + * Packet socket ID was treated as file-descriptor and close()-d + * Badly counted pages stats on restore + * Linked remap name conflict when dump and restore on NFS + * Sporadic failures in memory draining due to huge pipes used + * Broken criu show of repeated fields + * Failure to open mountpoint in foreign pid namespace + * Unlinked bound unix socket dump error + * Small memory leak when writing to incremental image(s) + * Restoring fsnotify for links results in ELOOP + * Host's PATH is not suitable when execv-ing tar/ip/iptable to restore namespace (workaround, proper fix will be in 1.3) + * Using subdirs in log file name via RPC breaks security +- New subpackages: libcriu1 and criu-devel +- Remove obsoleted always-define-ptrace_peeksiginfo_args.diff + +--- Old: always-define-ptrace_peeksiginfo_args.diff criu-1.1.tar.bz2 New: criu-1.2.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.Av7P3Q/_old 2014-02-28 18:51:31.0 +0100 +++ /var/tmp/diff_new_pack.Av7P3Q/_new 2014-02-28 18:51:31.0 +0100 @@ -17,18 +17,18 @@ Name: criu -Version:1.1 +Version:1.2 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console Url:http://criu.org/ +Requires: logrotate BuildRequires: asciidoc BuildRequires: protobuf-c BuildRequires: xmlto BuildRequires: pkgconfig(systemd) Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 -Patch1: always-define-ptrace_peeksiginfo_args.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 @@ -39,18 +39,40 @@ files. You can then use the files to restore and run the application from the point it was frozen at. +%package -n libcriu1 +Summary:Library for CRIU +License:LGPL-2.1 +Group: System/Libraries + +%description -n libcriu1 +This package contains the library for CRIU, Checkpoint/Restore In +Userspace Tools. + +%package devel +Summary:Include Files and Libraries mandatory for Development +License:LGPL-2.1+ +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libcriu1 = %{version} + +%description devel +This package contains all necessary include files and libraries needed +to develop applications with CRIU library. + %prep %setup -q -n %{name}-%{version} -%if 0%{suse_version} 1310 -%patch1 -p1 -%endif %build export CFLAGS=%optflags -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=/etc/logrotate.d/ %install -make V=1 %{?_smp_mflags} PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT install +mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d +make V=1 %{?_smp_mflags} PREFIX=%{_prefix} LOGROTATEDIR=/etc/logrotate.d/ \ +DESTDIR=$RPM_BUILD_ROOT install +# make rpmlint happy +mv $RPM_BUILD_ROOT/etc/logrotate.d/criu-service \ +$RPM_BUILD_ROOT/etc/logrotate.d/criu # for compatiblity ln -s criu $RPM_BUILD_ROOT%{_sbindir}/crtools ln -s criu.8 $RPM_BUILD_ROOT%{_mandir}/man8/crtools.8 @@ -73,11 +95,25 @@ %service_del_postun criu.service criu.socket exit 0 +%post -n libcriu1 -p /sbin/ldconfig + +%postun -n libcriu1 -p /sbin/ldconfig + %files %defattr(-,root,root) %doc README COPYING %{_sbindir}/* %{_mandir}/man*/* %{_unitdir}/criu.* +/etc/logrotate.d/* + +%files -n libcriu1 +%defattr(-,root,root) +%{_libdir}/libcriu.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/criu +%{_libdir}/libcriu.so %changelog ++ criu-1.1.tar.bz2 - criu-1.2.tar.bz2 ++ 7505 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands,
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-01-28 15:37:59 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2014-01-23 15:41:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-01-28 15:38:00.0 +0100 @@ -1,0 +2,27 @@ +Tue Jan 28 12:42:34 CET 2014 - ti...@suse.de + +- Update to version 1.1: BUGs fixed, + * Errors from memory dumping are not handled resulting in +corrupted dumps + * EOF detection in stacked images is done with error + * Stacked images don't work on non-shared FS (missing pagemap-s) + +--- +Tue Jan 21 12:23:27 CET 2014 - ti...@suse.de + +- Update to version 1.1-rc2: Bugs fixed, + * Crash in criu check + * RPC check always fail on 3.11 kernel + * Failed fork() didn't abort restore + * Dump fail not reported via RPC + * RPC client disconnect wasn't handled + * Page server could connect to self for writing images + * Hang on pre-dumping task livig in net-namespace + * VDSO page mis-handle on pre-dump + * FPU state loss on pre-dump + * Memory tracking turns ON w/o request + * Various fixes (and improvements) in build system +- Fix missing struct ptrace_peeksiginfo_args on FACTORY: + always-define-ptrace_peeksiginfo_args.diff + +--- Old: criu-1.1-rc1.tar.bz2 New: always-define-ptrace_peeksiginfo_args.diff criu-1.1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.KvuaVe/_old 2014-01-28 15:38:01.0 +0100 +++ /var/tmp/diff_new_pack.KvuaVe/_new 2014-01-28 15:38:01.0 +0100 @@ -16,9 +16,8 @@ # -%define package_version 1.1-rc1 Name: criu -Version:1.0.99.1 +Version:1.1 Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 @@ -28,7 +27,8 @@ BuildRequires: protobuf-c BuildRequires: xmlto BuildRequires: pkgconfig(systemd) -Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 +Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 +Patch1: always-define-ptrace_peeksiginfo_args.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 @@ -40,7 +40,10 @@ the point it was frozen at. %prep -%setup -q -n %{name}-%{package_version} +%setup -q -n %{name}-%{version} +%if 0%{suse_version} 1310 +%patch1 -p1 +%endif %build export CFLAGS=%optflags ++ always-define-ptrace_peeksiginfo_args.diff ++ struct ptrace_peeksiginfo_args is defined in linux/ptrace.h but not in sys/ptrace.h. --- include/ptrace.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/include/ptrace.h +++ b/include/ptrace.h @@ -19,6 +19,8 @@ #ifndef PTRACE_PEEKSIGINFO #define PTRACE_PEEKSIGINFO 0x4209 +#endif + struct ptrace_peeksiginfo_args { __u64 off; /* from which siginfo to start */ __u32 flags; @@ -27,7 +29,6 @@ struct ptrace_peeksiginfo_args { /* Read signals from a shared (process wide) queue */ #define PTRACE_PEEKSIGINFO_SHARED (1 0) -#endif #ifndef PTRACE_GETREGSET # define PTRACE_GETREGSET 0x4204 ++ criu-1.1-rc1.tar.bz2 - criu-1.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.1-rc1/Documentation/.gitignore new/criu-1.1/Documentation/.gitignore --- old/criu-1.1-rc1/Documentation/.gitignore 2013-12-31 11:08:50.0 +0100 +++ new/criu-1.1/Documentation/.gitignore 2014-01-28 10:04:03.0 +0100 @@ -1,3 +1,5 @@ *.xml *.html *.[1-8] +*.pdf +*.ps diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criu-1.1-rc1/Documentation/Makefile new/criu-1.1/Documentation/Makefile --- old/criu-1.1-rc1/Documentation/Makefile 2013-12-31 11:08:50.0 +0100 +++ new/criu-1.1/Documentation/Makefile 2014-01-28 10:04:03.0 +0100 @@ -5,20 +5,43 @@ XMLTO := xmlto SRC+= criu.txt +XMLS := $(patsubst %.txt,%.xml,$(SRC)) MANS := $(patsubst %.txt,%.8,$(SRC)) MAN8DIR:= $(MANDIR)/man8 -all: $(MANS) +GROFF=groff +PAPER=$(shell paperconf 2/dev/null || echo letter) +GROFF_OPTS := -Tps -t -dpaper=$(PAPER) -P-p$(PAPER) \ + -man -msafer -rC1 -rD1 -rS11 +PSS:= $(MANS:%.8=%.ps) +PDFS := $(MANS:%.8=%.pdf) + +all: check $(MANS) +ps: $(PSS) +pdf: $(PDFS) +.PHONY: all ps pdf check + +check: +
commit criu for openSUSE:Factory
Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2014-01-16 17:05:11 Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new (New) Package is criu Changes: --- /work/SRC/openSUSE:Factory/criu/criu.changes2013-12-05 21:31:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes 2014-01-23 15:41:05.0 +0100 @@ -1,0 +2,26 @@ +Wed Jan 8 16:40:12 CET 2014 - ti...@suse.de + +- Update to version 1.1-rc1: + New features: + * libcriu.so -- wrapper library for RPC clients + * new plugins: external unix sockets, external bind mounts, + external net devices and unknown file types + * Images deduplication in incremental dumps + * Integration with systemd + * Filtering of criu show output + Bug fixes: + * Errors in unlinked files/sockets detection on BTRFS + * NFS silly-rename files are not treated as unlinked + * Freezer fail to seize quickly forking/pthread_create-ing tasks + * Extra stop signal queued for stopped tasks after pre-dump + * Wrong dying task state detection + * Lost RPC dump response + * Crash when reporting restore error via RPC + * Negative return code into shell + * Tasks left in wrong states after failed dump + * A little bit more verbose check action + * Coverity checks fail here and there + +- Drop obsoleted criu-fix-PTRACE_LISTEN-define.diff + +--- Old: criu-1.0.tar.bz2 criu-fix-PTRACE_LISTEN-define.diff New: criu-1.1-rc1.tar.bz2 Other differences: -- ++ criu.spec ++ --- /var/tmp/diff_new_pack.OvtyhG/_old 2014-01-23 15:41:06.0 +0100 +++ /var/tmp/diff_new_pack.OvtyhG/_new 2014-01-23 15:41:06.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package alsa +# spec file for package criu # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,9 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +%define package_version 1.1-rc1 Name: criu -Version:1.0 -Release:1 +Version:1.0.99.1 +Release:0 Summary:Checkpoint/Restore In Userspace Tools License:GPL-2.0 Group: System/Console @@ -25,8 +27,8 @@ BuildRequires: asciidoc BuildRequires: protobuf-c BuildRequires: xmlto -Source0:http://download.openvz.org/criu/criu-%{version}.tar.bz2 -Patch1: criu-fix-PTRACE_LISTEN-define.diff +BuildRequires: pkgconfig(systemd) +Source0:http://download.openvz.org/criu/criu-%{package_version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 @@ -38,8 +40,7 @@ the point it was frozen at. %prep -%setup -q -%patch1 -p1 +%setup -q -n %{name}-%{package_version} %build export CFLAGS=%optflags @@ -53,10 +54,27 @@ # fix up wrong permissions chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man*/* +%pre +%service_add_pre criu.service criu.socket +exit 0 + +%preun +%service_del_preun criu.service criu.socket +exit 0 + +%post +%service_add_post criu.service criu.socket +exit 0 + +%postun +%service_del_postun criu.service criu.socket +exit 0 + %files %defattr(-,root,root) %doc README COPYING %{_sbindir}/* %{_mandir}/man*/* +%{_unitdir}/criu.* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org