Package Details: criu 2.9-1

Git Clone URL: (read-only)
Package Base: criu
Description: A Checkpoint/Restore functionality for Linux in Userspace.
Upstream URL:
Licenses: GPL2
Submitter: pbor
Maintainer: aksr
Last Packager: aksr
Votes: 24
Popularity: 0.792082
First Submitted: 2013-10-17 10:07
Last Updated: 2017-01-09 07:00

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

kumala commented on 2016-12-09 10:15

sudo criu check still produces:

Error (cr-check.c:136): sys/kernel/ns_last_pid sysctl is inaccessible: No such file or directory
Does not look good.

I understand this is because of the standard arch kernel not providing CONFIG_CHECKPOINT_RESTORE.

Also, if I understand correctly, this was marked as fixed here:

Anyone has a status update on that one?

susu commented on 2016-03-24 16:09

Hi maintainer,

Building this package is failed now.
It need python at build time, at directory src/criu-2.0/lib/py/images/ for target

Add python to makedepend in PKGBUILD could resolve this problem.

Thank you.

aksr commented on 2016-01-02 11:41

lase: Thank you.
This problem is already known and reported.
Package libbsd from the official repo is outdated.
Btw, your solution works, but I would wait for libbsd update.

1ace commented on 2016-01-01 16:38

The package seems to be unable to compile when `libbsd` is installed (which is required by `smbclient` among others).
I'm too lazy to figure out why, though :)

As a workaround you can:
1. Uninstall `libbsd` with `pacman -Rdd libbsd` (`-dd` skips dependency checks, letting you remove a required package)
2. Compile `criu`
3. And then reinstall `libbsd` with `pacman -S --asdeps libbsd`
WARNING: this temporarily breaks the package system. Make sure you always do that third step!

sergej commented on 2015-09-10 18:30

You can use

make PREFIX=/usr SBINDIR=/usr/bin LOGROTATEDIR=/etc/logrotate.d LIBDIR=/usr/lib ...

in build() and package() instead of patching.

efiop commented on 2014-12-14 16:02

Added feature request . Feel free to vote there for enabling CONFIG_CHECKPOINT_RESTORE again.

efiop commented on 2014-12-12 10:57

Added feature request .

klusark commented on 2014-12-11 15:56

1.4 is out

pbor commented on 2014-05-08 21:25

Yep. Starting from linux-3.14 CONFIG_CHECKPOINT_RESTORE is intentionally disabled as it depends on CONFIG_EXPERT (
I'm not going to support this package anymore until the official kernel package is properly configured for it.
If anyone wishes to provide custom kernel with CHECKPOINT_RESTORE enabled, I'll be happy to orphan this package and give ownership to this person.

PS: I think CHECKPOINT_RESTORE will move from under EXPERT option in next releases, as it becomes more popular and proves it's stable enough to be included into base kernel package.

Stunts commented on 2014-05-08 11:23

I seem to recll some discussion on arch-dev where it was decided to remove support for CRIU from the standard kernel.
If you want to use this you need to compile you own kernel with those options turned on.

Iqualfragile commented on 2014-05-08 11:21

sudo criu check
/proc/<pid>/map_files directory is missing.
/proc/sys/kernel/ns_last_pid sysctl is missing.
System call kcmp is not supported
prctl: PR_GET_TID_ADDRESS is not supported
/proc/sys/kernel/sem_next_id sysctl is missing.
Warn (cr-check.c:514): Dirty tracking is OFF. Memory snapshot will not work.
/proc/<pid>/timers file is missing.

Seems not to be working, is that due to the kernel?

pbor commented on 2014-02-03 16:22

Updated to upstream version 1.1

pbor commented on 2013-11-27 11:15

Fixed in 3.12.1-3

% sudo criu check
Looks good.

pbor commented on 2013-11-26 09:06

Updated to version 1.0.

Also, looks like CONFIG_CHECKPOINT_RESTORE is disabled in 3.12. Filed a bug to fix this:

haagch commented on 2013-11-26 09:03

Well, I tried it.

1. If you have an old protobuf-c (from aur?) installed and now see it in community, you might still need to reinstall for it to be linked against instead of

2. Something with ptrace gets redefined, so you should compile with make WERROR=0

3. Kernel from core/testing doesn't contain all the needed features:

$ sudo criu check --ms
/proc/<pid>/map_files directory is missing.
(00.000243) Warn (sk-unix.c:339): Relative bind path 'socket' unsupported
(00.000608) Warn (sk-unix.c:339): Relative bind path 'socket' unsupported
/proc/sys/kernel/ns_last_pid sysctl is missing.
System call kcmp is not supported
prctl: PR_GET_TID_ADDRESS is not supported
/proc/sys/kernel/sem_next_id sysctl is missing.
(00.003650) Warn (cr-check.c:514): Dirty tracking is OFF. Memory snapshot will not work.
/proc/<pid>/timers file is missing.
(00.003682) Warn (tun.c:55): Skipping tun support check

sergej commented on 2013-11-25 19:01

pbor commented on 2013-11-18 11:23

Updated to 0.8-3, added asciidoc to makedepends

Stunts commented on 2013-11-06 10:33

Confirming that asciidoc is required (not sure if in the depends array or just makedepends)

bmpvieira commented on 2013-11-05 18:22

Hi! This seems to also require asciidoc

pbor commented on 2013-10-22 11:39

Updated to 0.8-1