Page MenuHomeSolus

Open, NormalPublic


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

Home Page -

Tarball -

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
⋊ ~>
devxpy created this task.Aug 29 2018, 11:03 AM
devxpy updated the task description. (Show Details)Aug 29 2018, 11:03 AM
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
JoshStrobl triaged this task as Normal priority.
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) :

JoshStrobl renamed this task from Package for CRIU to CRIU.Aug 31 2018, 5:18 PM
kyrios123 removed kyrios123 as the assignee of this task.Oct 21 2018, 2:38 PM

Removing myself so anyone else can take over