140 Commits

Author SHA256 Message Date
11bdd78bd0 Accepting request 1299325 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1299325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=68
2025-08-14 11:19:08 +00:00
5accf1c7b3 - Update to version 4.1.1:
This release of CRIU (4.1.1) addresses a critical compatibility issue
  introduced in the Linux kernel and back-ported to all stable releases.
  The kernel commit (12f147ddd6de "do_change_type(): refuse to operate on
  unmounted/not ours mounts") addressed the security issue introduced
  almost 20 years ago. Unfortunately, this change inadvertently broke the
  restore functionality of mount namespaces within CRIU. Users attempting
  to restore a container on updated kernels would encounter the error:
  "mnt-v2: Failed to make mount 476 slave: Invalid argument."
  This release contains the necessary adjustments to CRIU, allowing it to
  work seamlessly with kernels incorporating this security change.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=136
2025-08-14 06:51:53 +00:00
b9a527dd23 Accepting request 1280078 from devel:tools
- add
  0001-net-nftables-avoid-restore-failure-if-the-CRIU-nft-t.patch
  (bsc#1241515)

- fix filelist mismatch after libexecdir change
  --shell-job restore to fail
  * C/R of shared bind-mounts
    bind mounts detection
        Ability to ignore FPU restoration
  * Punch pages from mem images on restore (optimizes live-migration)
  * Packed timers into core image
  * Post-restore script fails too late (if does it)
  * Default log file for service when starting via systemd
  * Using subdirs in log file name via RPC breaks security
  * Stacked images don't work on non-shared FS (missing pagemap-s)
  * Various fixes (and improvements) in build system
     external net devices and unknown file types
   * Filtering of criu show output
   * Coverity checks fail here and there
    Generic memory allocation for restorer
    VDSO proxy was unmapped at the very end of restore
    SEQPACKET unix sockets support
    Enhanced logging in parasite
    different distros)

OBS-URL: https://build.opensuse.org/request/show/1280078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=67
2025-05-26 16:39:58 +00:00
e7b9f05061 - add
0001-net-nftables-avoid-restore-failure-if-the-CRIU-nft-t.patch
  (bsc#1241515)
- fix filelist mismatch after libexecdir change
  --shell-job restore to fail
  * C/R of shared bind-mounts
    bind mounts detection
        Ability to ignore FPU restoration
  * Punch pages from mem images on restore (optimizes live-migration)
  * Packed timers into core image
  * Post-restore script fails too late (if does it)
  * Default log file for service when starting via systemd
  * Using subdirs in log file name via RPC breaks security
  * Stacked images don't work on non-shared FS (missing pagemap-s)
  * Various fixes (and improvements) in build system
     external net devices and unknown file types
   * Filtering of criu show output
   * Coverity checks fail here and there
    Generic memory allocation for restorer
    VDSO proxy was unmapped at the very end of restore
    SEQPACKET unix sockets support
    Enhanced logging in parasite
    different distros)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=134
2025-05-26 08:18:55 +00:00
cc7291bcf0 Accepting request 1270639 from devel:tools
- build with selinux support (bsc#1238136)

OBS-URL: https://build.opensuse.org/request/show/1270639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=66
2025-04-18 14:21:31 +00:00
3ff3353758 - build with selinux support (bsc#1238136)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=132
2025-04-17 20:28:14 +00:00
e15960efe7 Accepting request 1265955 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1265955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=65
2025-04-02 15:11:54 +00:00
7dae3ac9e0 - Update to criu 4.1:
New features:
  * RISC-V Support
  * PIDFD Support
  * arm64: C/R PAC keys
  Bugfixes:
  * vdso: handle vvar_vclock vma-s
  * seize: Take --timeout option into account when freezing processes
  * net: use unique lock chain names (nftables)
  * Fixes here and there.
  Improvements:
  * CUDA Enhancements
  * Allow setting the default network locking backend
  * Enable coredump generation for aarch64 and arm
  * vdso: switch from DT_HASH to DT_GNU_HASH
- Drop superfluous patches:
  vdso-handle-vvar_vclock-vma-s.patch
  0001-cr_options-switch-networking-default-backend-to-nfta.patch
- Enable riscv build

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=130
2025-03-31 16:56:23 +00:00
ac5c5cb24b Accepting request 1250573 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1250573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=64
2025-03-06 13:48:03 +00:00
279f8d868a - Drop unneeded Requires on python3-ipaddr.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=128
2025-03-06 08:25:21 +00:00
a1355ff1ed Accepting request 1242992 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1242992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=63
2025-02-04 17:11:05 +00:00
5ee31280e5 Build with default nftables support on openSUSE (bsc#1236769)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=126
2025-02-04 08:51:02 +00:00
e3e358a3c2 Accepting request 1239913 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1239913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=62
2025-01-24 12:38:48 +00:00
2ecef19801 - Fix the error "vdso: Unexpected rt vDSO area bounds" (bsc#1236330):
taken from the upstream bug tracker
    https://github.com/checkpoint-restore/criu/pull/2539
  vdso-handle-vvar_vclock-vma-s.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=124
2025-01-23 15:20:46 +00:00
1e2e128bd1 - Depend on python3-setuptools for building, distutils is deprecated
and it's not available in python > 3.11

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=123
2025-01-23 15:01:18 +00:00
0fbafb1069 Accepting request 1219895 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1219895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=61
2024-11-01 20:00:59 +00:00
babf377fa1 - Update to criu 4.0:
New features:
  * Shadow stack support
  * CUDA plugin: Introduced a plugin to support checkpointing and restoring
    NVIDIA CUDA applications.
  Bugfixes:
  * cgroup: Add support for restoring a thread in a correct v1 cgroup
  * mem: fix some VMAs being incorrectly mapped wtih PROT_WRITE
  * criu: fix a fatal failure if nft doesn't work
  * net: Fix TOCTOU race condition in unix_conf_op
  * pagemap-cache: handle short reads
  * Fixes here and there.
  Improvements:
  * Pagemap cache: Added support for PAGEMAP_SCAN ioctl
  * zdtm: Added tests for IP_TTL restore
  * irmap: hardcode some more interesting paths
  * util: use close_range when it's supported
  * Fixes and improvements in amdgpu-plugin
- Make criu-plugin-cuda subpackage

OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=121
2024-10-31 15:30:45 +00:00
165fc4cfad Accepting request 1129642 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1129642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=60
2023-11-30 20:58:59 +00:00
7664465815 Accepting request 1129641 from home:tiwai:branches:devel:tools
- Update to criu 3.19:
  New features:
  * LoongArch64 support
  * C/R membarrier() registrations
  * Restore THP_DISABLE prctl
  * prctl: Migrate prctl(NO_NEW_PRIVS) setting
  Bugfixes:
  * Many fixes and improvements from the Google team
  * Fix dumping hugetlb-based memfd on kernels < 4.16
  * Fixes here and there
  Improvements:
  * drop python 2 support
  * support XSAVE on newer Intel CPUs
- Refreshed criu-py-install-fix.diff;
  workarounds appled to both crit and lib/pycriu
- Drop obsoleted patch criu-amdgpu-plugin-fix.patch

OBS-URL: https://build.opensuse.org/request/show/1129641
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=119
2023-11-28 16:01:36 +00:00
496476f2e2 Accepting request 1091124 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1091124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=59
2023-06-06 17:57:29 +00:00
ed0c6841f8 Accepting request 1091121 from home:tiwai:branches:devel:tools
- Update to criu 3.18:
  New features:
  * Allow CRIU to be used as non-root
  * Add SIGTSTP support
  * Add opt to skip file r/w/x check on restore
  Bugfixes:
  * Many fixes here and there
  Improvements:
  * cgroup2: Dump cgroup controllers of every threads in a process
  * save IP_FREEBIND option for SOCK_RAW sockets also
  * support IP_PKTINFO and IPV6_RECVPKTINFO options
  * Implement hw breakpoint for arm64 platform
  * Set only used XFEATURE_* in xstate_bv
  * Checkpoint and restore some global properties
  * A checkpoint optimization for highly sparse ghost files (--ghost-fiemap)
- Refresh criu-py-install-fix.diff:
  a workaround for non-working python-pip inside build environment by
  reviving the old setup script
- Fix shebang of criu-ns script:
  criu-ns-python3-shebang.patch
- Drop obsoleted patches:
  criu-fix-conflicting-headers.patch
  mount-add-definition-for-FSOPEN_CLOEXEC.patch

OBS-URL: https://build.opensuse.org/request/show/1091121
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=117
2023-06-06 16:26:28 +00:00
00d661b110 Accepting request 1007273 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1007273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=58
2022-09-30 15:58:55 +00:00
124c73f897 Accepting request 1007271 from home:tiwai:branches:devel:tools
- Disable LTO, as it results in segfaults (bsc#1203854)

OBS-URL: https://build.opensuse.org/request/show/1007271
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=115
2022-09-30 14:21:33 +00:00
4d0dcdf822 Accepting request 1003458 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1003458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=57
2022-09-14 11:45:11 +00:00
3d35b48728 Accepting request 1003457 from home:tiwai:branches:devel:tools
- Fix build with glibc 2.36: backports of two upstream fixes
  criu-fix-conflicting-headers.patch
  mount-add-definition-for-FSOPEN_CLOEXEC.patch

OBS-URL: https://build.opensuse.org/request/show/1003457
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=113
2022-09-14 07:25:21 +00:00
4ab7e52171 Accepting request 994460 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/994460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=56
2022-08-11 16:32:36 +00:00
0986bf6713 Accepting request 994456 from home:tiwai:branches:devel:tools
- Update to criu 3.17.1:
  * Fixes for pre-dump read mode
  * Fixes for mount-v2
  * amdgpu plugin build and installation fixes
  * Some minor CI related fixes

OBS-URL: https://build.opensuse.org/request/show/994456
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=111
2022-08-11 07:21:43 +00:00
e63ddbf2d1 Accepting request 977882 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/977882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=55
2022-05-18 11:13:39 +00:00
fd3d011d18 Accepting request 977879 from home:tiwai:branches:devel:tools
- Update to criu 3.17:
  New features:
  * Introduced mount-v2 engine
  * Added support for MAP_HUGETLB mappings
  * Added support for Linux Restartable Sequences
  * Added support for SOCK_SEQPACKET unix sockets
  * CRIU AMD GPU plugin
  Bugfixes:
  * GCC 12 compatibility fixes
  * cgroup: fix --manage-cgroups=ignore
  * several memory leaks fixed in net, files, mount, tun and config
    subsystems
  * Improvements:
  * bpf: switch from deprecated bpf_create_map_xattr to bpf_map_create
  * bpfmap: handle map_extra field
  * setsockopt(SO_BUF_LOCK) support for tcp sockets
- New criu-plugin-amdgpu sub-package for AMDGPU ROCm plugin, enabled
  only for x86_64 and aarch64.
- Build fixes for plugins:
  criu-amdgpu-plugin-fix.patch
- Change the plugin install path to $libdir/criu:
  plugin-dir-path.patch

OBS-URL: https://build.opensuse.org/request/show/977879
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=109
2022-05-18 07:36:00 +00:00
94c4a7b6f9 Accepting request 940650 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/940650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=54
2021-12-16 01:00:42 +00:00
f3a23015e4 Accepting request 940649 from home:tiwai:branches:devel:tools
- Drop ix86 build, which has been failing almost always

OBS-URL: https://build.opensuse.org/request/show/940649
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=108
2021-12-15 07:33:26 +00:00
1de549dd45 Accepting request 936263 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/936263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=53
2021-12-07 23:00:04 +00:00
bac7a4a61d Accepting request 936262 from home:tiwai:branches:devel:tools
- Enable nftables for SLE15-SP3 / openSUSE Leap 15.3, too (bsc#1193486)

OBS-URL: https://build.opensuse.org/request/show/936262
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=107
2021-12-07 14:25:20 +00:00
862c44ac8d Accepting request 925809 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/925809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=52
2021-10-18 19:59:11 +00:00
f7f7fb1582 Accepting request 925808 from home:tiwai:branches:devel:tools
- Drop criu-protobuf-c-1.4-underscore-fix.patch

OBS-URL: https://build.opensuse.org/request/show/925808
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=106
2021-10-17 07:23:59 +00:00
71898205bd Accepting request 925414 from home:tiwai:branches:devel:tools
- Update to criu 3.16.1:
  see details at https://criu.org/Download/criu/3.16.1
  Bugfixes:
  * Switch criu-ns helper script from unversioned 'python' to
    'python3' for easier distribution packaging
  Improvements:
  * Add '--join-ns' interface to libcriu to allow joining namespaces
    via libcriu like CLI and RPC already allow
- Change Source URL to github

- Update to criu 3.16:
  see details at https://criu.org/Download/criu/3.16
  New features:
  * criu-ns helper script
  * support checkpoint/restore of stacked apparmor profiles
  * add nftables based network locking/unlocking
  * allow restoring of precreated veth devices
  Improvements:
  * better support for restoring containers into existing pods
  * pidfd based pid reuse detection for RPC clients
  * license change for all files in the images/ directory to MIT
  * use clang-format for automatic code indentation
- Drop 0002-Fix-build-with-nftables-installed-in-different-direc.patch
  as obsoleted

OBS-URL: https://build.opensuse.org/request/show/925414
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=105
2021-10-15 16:18:45 +00:00
2267c49e7b Accepting request 895682 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/895682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=51
2021-06-01 08:37:24 +00:00
505d8bcba5 Accepting request 895595 from home:tiwai:branches:devel:tools
- Fix the build with protobuf-c 1.4:
  criu-protobuf-c-1.4-underscore-fix.patch

OBS-URL: https://build.opensuse.org/request/show/895595
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=103
2021-05-27 08:44:28 +00:00
b33aa68340 Accepting request 852396 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/852396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=50
2020-12-02 12:58:55 +00:00
6c1435ed50 Accepting request 852394 from home:tiwai:branches:devel:tools
- Update to criu 3.15:
  see details at https://criu.org/Download/criu/3.15
  New features:
  * Introduced criu-image-streamer
  * Added MIPS support
  * Allow checkpointing out of existing PID namespace and restoring
    into existing PID namespace
  * Added additional file validation mechanisms
  * Added support to checkpoint and restore BPF hash maps
   (BPF_MAP_TYPE_HASH) and array maps (BPF_MAP_TYPE_ARRAY)
  * Initial cgroups v2 support
- Fix build with nftables package:
  0002-Fix-build-with-nftables-installed-in-different-direc.patch

OBS-URL: https://build.opensuse.org/request/show/852394
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=101
2020-12-01 15:54:59 +00:00
1821a97f22 Accepting request 836307 from devel:tools
- fix filelist mismatch after libexecdir change

OBS-URL: https://build.opensuse.org/request/show/836307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=49
2020-09-23 16:48:07 +00:00
d510bff86e - fix filelist mismatch after libexecdir change
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=99
2020-09-23 12:17:26 +00:00
803fd816f1 Accepting request 807862 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/807862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=48
2020-05-23 15:27:40 +00:00
Martin Pluskal
fbe7fa30aa Accepting request 807784 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/807784
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=97
2020-05-21 06:02:18 +00:00
c346cc3c3f Accepting request 807300 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/807300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=47
2020-05-19 13:25:46 +00:00
4b637576cb Accepting request 804998 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- 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+

OBS-URL: https://build.opensuse.org/request/show/804998
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=95
2020-05-19 12:25:58 +00:00
b596ef043e Accepting request 749342 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/749342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=46
2019-11-18 19:12:20 +00:00
24c2ec109e Accepting request 749339 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/749339
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=93
2019-11-18 16:39:17 +00:00
3ee1bfdeb1 Accepting request 728430 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/728430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=45
2019-09-05 10:46:59 +00:00
Martin Pluskal
aedda80480 Accepting request 728343 from home:1Antoine1:branches:devel:tools
Fix build on Tumbleweed: Add -ffat-lto-objects to lto cflags.

OBS-URL: https://build.opensuse.org/request/show/728343
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=91
2019-09-05 07:07:07 +00:00