Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 921763

Summary: sys-process/criu: add support for rootless CRIU
Product: Gentoo Linux Reporter: Florian Schmaus <flow>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/checkpoint-restore/criu/pull/1155
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Schmaus gentoo-dev 2024-01-11 09:17:13 UTC
CRIU has gotten support to be operated rootless with https://github.com/checkpoint-restore/criu/pull/1155 and CAP_CHECKPOINT_RESTORE. 

I suggest to add a USE=fcaps that sets the required capability on the criu binary.
Comment 1 Larry the Git Cow gentoo-dev 2024-01-21 09:44:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3a2136634e16e7a2b6a22ae95810512ca089dd

commit 0b3a2136634e16e7a2b6a22ae95810512ca089dd
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-01-11 09:28:35 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-01-21 09:44:30 +0000

    sys-process/criu: add support for rootless CRIU via filecaps
    
    Closes: https://bugs.gentoo.org/921763
    Closes: https://github.com/gentoo/gentoo/pull/34742
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-process/criu/criu-3.18.ebuild | 8 ++++++--
 sys-process/criu/metadata.xml     | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)