Commit Graph

64 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
7e6c31667a Accepting request 701145 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/701145
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=89
2019-05-07 06:51:55 +00:00
6f768626db Accepting request 650258 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/650258
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=87
2018-11-20 10:31:24 +00:00
aaf7ff414a Accepting request 612701 from home:avindra:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/612701
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=85
2018-05-29 08:21:17 +00:00
Martin Pluskal
9d3ad8970d Accepting request 593759 from home:tiwai:branches:devel:tools
- update to criu 3.8.1: a bug-fix release
  FDstore was initialized twice (re-initialized) causing e.g.
  --shell-job restore to fail

OBS-URL: https://build.opensuse.org/request/show/593759
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=83
2018-04-06 06:50:52 +00:00
7622cf3067 Accepting request 589399 from home:tiwai:test:asciidoc-drop
- Add python-devel to BuildReq explicitly, as a preparation for
  fallback to asciidoctor (bsc#1075764)

OBS-URL: https://build.opensuse.org/request/show/589399
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=82
2018-03-20 21:57:05 +00:00
313daa1267 Accepting request 588180 from home:avindra
- 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

OBS-URL: https://build.opensuse.org/request/show/588180
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=80
2018-03-19 22:00:49 +00:00
d93335c904 Accepting request 559519 from home:avindra
- update to criu 3.7:
  New features
  * Pipes usage statistics
  * Run page server as non-daemon via RPC
  * C/R of
    - SO_REUSEPORT option
    - IPv4-mapped inet sockets
    - Net_prio CGroups
    - Overmounted shared mountpoints
    - Non-broken and breaking leases
  Improvements
  * Show criu and kernel versions in logs
  * CRIT decodes socket families, protocols and types
  * Much less pipes is needed for pre-dump, which is especially
    useful for big mem migration
  Bugfixes
  * Files in /proc/pid/map_file could be opened by non-exiting
    name (with 0x prefix) and it was fixed in kernel
  * CRIU log levels were used to configure logging for libsoccr
    thus breaking its logs
  * Overflow in various IDs caused bad image names
  * Compat (32bit) syscalls lost signedness in compel
  * Corked sockets lost cork flag
  * Preadv() syscall was declared with error which resulted in
    dump errors on 32-bit processors
  * Musl compilation failed
  * Ghost files in / dump failed
  * Crash when releasing context for ghost files, due to free()-ing
    shmalloc()-ed area
  * Lazy restore could receive partial page and crashed
  * Erroneous closing of lazy pages connection caused restore to
    hang
  * Lazy memory fetch restore could start before tasks are restored
- Remove 0001-images.py-remove-shebang.patch
  * upstreamed in 8e45ce4905d186abafb7c20abb3b00207fefdb53

OBS-URL: https://build.opensuse.org/request/show/559519
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=78
2017-12-26 09:12:28 +00:00
87bb39e735 Accepting request 541011 from home:avindra
Now with the upstream information

OBS-URL: https://build.opensuse.org/request/show/541011
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=76
2017-11-13 14:03:52 +00:00
c93cf4f68e Accepting request 539037 from home:avindra
- 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

OBS-URL: https://build.opensuse.org/request/show/539037
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=74
2017-11-06 15:36:55 +00:00
Martin Pluskal
66ff08c18d Accepting request 518323 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/518323
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=72
2017-08-23 08:02:46 +00:00
94e6d7b010 Accepting request 511378 from home:bmwiedemann:branches:devel:tools
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)

OBS-URL: https://build.opensuse.org/request/show/511378
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=70
2017-07-19 12:08:19 +00:00
Martin Pluskal
b6bef56577 Accepting request 507267 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/507267
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=68
2017-06-30 10:40:38 +00:00
Martin Pluskal
b88d374491 Accepting request 505507 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/505507
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=66
2017-06-21 16:06:38 +00:00
Martin Pluskal
c45fd92b4d Accepting request 491189 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/491189
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=64
2017-04-26 08:00:05 +00:00
Martin Pluskal
f5ba451f12 Accepting request 484213 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/484213
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=62
2017-03-31 16:57:13 +00:00
Martin Pluskal
a8d4ff176b Accepting request 481821 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/481821
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=60
2017-03-22 07:43:17 +00:00
Martin Pluskal
2768b7a865 Accepting request 460900 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/460900
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=58
2017-02-28 15:14:18 +00:00
Martin Pluskal
4843306497 Accepting request 452443 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/452443
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=56
2017-01-25 16:04:31 +00:00
Martin Pluskal
f2ff1e3a64 Accepting request 445518 from home:tiwai:branches:devel:tools
- Update to criu 2.9:
  New features:
  * CRIU can now be built with clang on all supported architectures
  * Ignore missing sysctls on restore with --weak-sysctl
    C/R overmounted mountpoints
  Optimizations/improvements:
  * Batch restore of memory contents from pages.img files
  * Link-remap type for invisible files is explicit in images
    Man page for CRIT
  Fixes:
  * C/R with --empty-ns still handled iptables configuration
  * SCM messages inside UNIX socket got lost after C/R (now dump
    aborted)
  * Empty unixsk.img file appeared when dumping tasks without unix
    sockets
  * Install procedure wasn't PEP-394 compliant
  * CRIU blocking netfilter rules were added at the tail of the
    chain resulting in unlocked TCP connections
  * Dump/Restore spurious failures when open() returned 0 descriptor
  * When dumping shmem lots of zero pages were written into image
    files
  * Ghost directory with more than zero ghost parents caused
    restore to fail
  * Shared mount could escape to different group on restore

OBS-URL: https://build.opensuse.org/request/show/445518
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=54
2016-12-13 08:31:14 +00:00
Martin Pluskal
ab4715ca7f Accepting request 440284 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/440284
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=52
2016-11-14 21:08:37 +00:00
Martin Pluskal
f008753156 Accepting request 435934 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/435934
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=50
2016-10-18 22:39:46 +00:00
Martin Pluskal
6e6893e547 Accepting request 428071 from home:tiwai:branches:devel:tools
- 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)

OBS-URL: https://build.opensuse.org/request/show/428071
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=48
2016-09-16 10:06:48 +00:00
Martin Pluskal
795536d9f6 Accepting request 421341 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/421341
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=46
2016-08-23 19:18:04 +00:00
Martin Pluskal
7c17587163 Accepting request 407890 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/407890
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=44
2016-07-12 11:08:19 +00:00
Martin Pluskal
62e7bba0fc Accepting request 402670 from home:tiwai
- 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)

OBS-URL: https://build.opensuse.org/request/show/402670
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=42
2016-06-16 09:26:16 +00:00
Martin Pluskal
d458ceae9c Accepting request 396192 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/396192
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=40
2016-05-17 12:24:47 +00:00
523e5f45d8 Accepting request 389858 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/389858
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=38
2016-04-14 12:49:37 +00:00
Martin Pluskal
cc1523ea41 Accepting request 369387 from home:tiwai:branches:devel:tools
- Update to criu 2.0:
  New features:
  * New code layout for sub-projects (e.g. Compel)
  * Unprivileged dump
  * Dump/check cpuinfo support for PPC
  * Explorers for CRIT
  * Added "post-setup-namespaces" to action scripts
  * Added timeout for dump procedure (5 sec by default)
  * Ability to override LSM profile on restore with CLI/RPC option
  * External bind mounts can be fs-root mounts too
  * Skip netns' internals on dump and restore (for Docker integration)
  * Advanced support for external files
  * More C/R supports
  Optimizations/improvements:
  * Align parasite stack on 16 bits for correctness
  * Compilation with native libc syscall wrappers and helpers
  * Parasite code injection done via memfd system call
  * Make vaddr to pfn conversion with one less syscall
  * CRIT shows device numbers in "maj:min" manner
  * CRIT shows mmap's status in verbose
  * Docker files for builds on all supported arches
  Fixes:
  * Absent readlink syscall on ARM (use readlinkat instead) could cause dump to fail
  * Wrong argument to timer_create system call could cause restore to crash
  * Extra tasks in freeze cgroup caused dump to fail/hand/crash
  * Unaligned restore-time object allocations caused lock operations to fail
  * Opened /proc/pid dir of dead task failed the dump
  * Unaligned stacks caused criu to fail on aarch64
  * Changed device numbers on restore side could cause random failures
  * Fixes in mount points sharing/slavery/propagation restore

OBS-URL: https://build.opensuse.org/request/show/369387
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=36
2016-03-10 07:36:25 +00:00
Martin Pluskal
2a602d8800 Accepting request 347906 from home:tiwai
- 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

OBS-URL: https://build.opensuse.org/request/show/347906
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=34
2015-12-08 11:36:43 +00:00
Martin Pluskal
b05723d03a Accepting request 345398 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/345398
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=32
2015-11-20 11:41:20 +00:00
972c631fc9 Accepting request 330524 from home:tiwai:branches:devel:tools
Update changelog

OBS-URL: https://build.opensuse.org/request/show/330524
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=30
2015-09-11 15:05:50 +00:00
cc32e84e0a Accepting request 330520 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/330520
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=29
2015-09-11 14:43:47 +00:00
Martin Pluskal
c980894723 Accepting request 319712 from home:cbosdonnat:branches:devel:tools
- Fix version in criu.pc file.
  4c5b23e5-criu.pc.diff

OBS-URL: https://build.opensuse.org/request/show/319712
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=27
2015-07-31 08:05:09 +00:00
Martin Pluskal
2b8d50c617 Accepting request 309628 from home:tiwai:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/309628
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=25
2015-06-01 14:03:47 +00:00