Package Details: criu 3.8-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: 28
Popularity: 0.665847
First Submitted: 2013-10-17 10:07
Last Updated: 2018-03-28 04:00

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

jacobtey commented on 2017-10-05 15:02

The last version of CRIU is 3.5. Have to change in PKGBUILD

mynameiscow commented on 2017-07-09 03:50

@Kepsulon, I'm also getting the same error. Were you able to find a solution?

(00.064613) Error (criu/kcmp-ids.c:108): kcmp failed: pid (27840 7386) type 1 idx (0 0): Function not implemented
(00.064623) Error (criu/cr-dump.c:608): Can't make VM id for 7386
(00.064632) Unlock network
(00.064641) Unfreezing tasks into 1
(00.064648) Unseizing 7386 into 1
(00.064669) Unseizing 27839 into 1
(00.064698) Error (criu/cr-dump.c:1641): Dumping FAILED.

1ace commented on 2017-04-01 11:30

soccr/soccr.c:7:20: fatal error: libnet.h: No such file or directory


Kepsulon commented on 2017-02-24 10:16

Im getting

Error (criu/kcmp-ids.c:108): kcmp failed: pid (30010 29569) type 1 idx (0 0): Function not implemented
Error (criu/cr-dump.c:604): Can't make VM id for 29569
Error (criu/cr-dump.c:1636): Dumping FAILED.

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