mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
ci: disable c/r of cgroups with podman
This patch disables the checkpoint/restore of cgroups for the tests using Podman as a temporary workaround for https://github.com/checkpoint-restore/criu/issues/2091 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
committed by
Andrei Vagin
parent
e7ab6fe635
commit
91ff24b47e
@@ -25,6 +25,12 @@ make install
|
||||
popd
|
||||
rm -rf "${tmp_dir}"
|
||||
|
||||
# FIXME: Disable checkpoint/restore of cgroups
|
||||
# https://github.com/checkpoint-restore/criu/issues/2091
|
||||
mkdir -p /etc/criu
|
||||
echo "manage-cgroups ignore" > /etc/criu/runc.conf
|
||||
sed -i 's/#runtime\s*=\s*.*/runtime = "runc"/' /usr/share/containers/containers.conf
|
||||
|
||||
podman info
|
||||
|
||||
podman run --name cr -d docker.io/library/alpine /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 1; done'
|
||||
|
Reference in New Issue
Block a user