Page MenuHomeSolus

CRIU
Closed due to inactivityPublic

Description

criu is an utility to checkpoint/restore a process tree.

Home Page - https://criu.org/Main_Page

Tarball - http://download.openvz.org/criu/criu-3.10.tar.bz2

Installation - https://criu.org/Installation

I want to use it to build a session save/restore functionality for X11.


Tried compiling myself.

⋊ ~/P/x/criu-3.10> make
fatal: not a git repository (or any of the parent directories): .git
make[1]: Nothing to be done for 'all'.
make[1]: 'images/built-in.o' is up to date.
make[1]: 'compel/plugins/std.lib.a' is up to date.
make[1]: 'compel/plugins/fds.lib.a' is up to date.
make[1]: 'compel/libcompel.a' is up to date.
make[1]: 'compel/compel-host-bin' is up to date.
make[1]: Nothing to be done for 'all'.
make[1]: 'soccr/libsoccr.a' is up to date.
criu/Makefile.packages:38: Can not find some of the required libraries
criu/Makefile.packages:39: Make sure the following packages are installed
criu/Makefile.packages:40: RPM based distros: protobuf protobuf-c protobuf-c-devel protobuf-compiler protobuf-devel protobuf-python libnl3-devel libcap-devel python2-future
criu/Makefile.packages:41: DEB based distros: libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev python-future
criu/Makefile.packages:42: To run tests the following packages are needed
criu/Makefile.packages:43: RPM based distros: libaio-devel python2-pyyaml
criu/Makefile.packages:44: DEB based distros: python-yaml libaio-dev
criu/Makefile.packages:45: *** Compilation aborted.  Stop.
make[1]: *** [criu/Makefile.packages:51: check-packages] Error 2
make: *** [Makefile:228: criu] Error 2
⋊ ~> sudo eopkg li | grep protobuf
protobuf                                    - Protocol Buffers - Google's data interchange format
protobuf-c                                  - Protocol Buffers implementation in C
protobuf-c-devel                            - Development files for protobuf-c
protobuf-devel                              - Development files for protobuf
python-protobuf                             - Python bindings for Protobuf
⋊ ~> sudo eopkg li | grep libcap
libcap2                                     - User-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels
libcap2-devel                               - Development files for libcap2
⋊ ~> sudo eopkg li | grep future
python-future                               - Clean single-source support for Python 3 and 2
⋊ ~> sudo eopkg li | grep libnl
libnl                                       - a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces.
libnl-devel                                 - Development files for libnl
⋊ ~> eopkg li | grep libaio
libaio                                      - Linux kernel AIO access library
⋊ ~> eopkg li | grep yaml
pyyaml                                      - Python YAML binding
ruamel_yaml                                 - ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
yaml                                        - LibYAML
yaml-devel                                  - Development files for yaml
⋊ ~>

Event Timeline

JoshStrobl triaged this task as Normal priority.Aug 29 2018, 5:26 PM
JoshStrobl edited projects, added Package Requests; removed Lacks Project.
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
kyrios123 added a subscriber: kyrios123.

I'll have a look at this

@DataDrake this package requires many kernel features to be enabled; your expertise is needed here.

I had a quick look at linux-current config and the following options are not set (the first one is required for the 2nd one according to the author) :

  • CONFIG_EMBEDDED
  • CONFIG_EXPERT
  • CONFIG_CHECKPOINT_RESTORE
  • CONFIG_UNIX_DIAG
  • CONFIG_INET_UDP_DIAG
  • CONFIG_PACKET_DIAG
JoshStrobl renamed this task from Package for CRIU to CRIU.Aug 31 2018, 5:18 PM

Removing myself so anyone else can take over

As this task has been marked Needs Maintainer for a month with nobody having stepped up to become maintainer, in addition to providing an acceptable patch for inclusion, marking as WONTFIX. Feel free to re-open when a patch has been submitted via the proper processes.

DataDrake changed the task status from Wontfix to Frozen.Feb 21 2022, 6:16 AM