Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921763 - sys-process/criu: add support for rootless CRIU
Summary: sys-process/criu: add support for rootless CRIU
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 09:17 UTC by Florian Schmaus
Modified: 2024-01-21 09:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)