diff --git a/script/setup_host_fedora.sh b/script/setup_host_fedora.sh index 919e89688..efe6a001d 100755 --- a/script/setup_host_fedora.sh +++ b/script/setup_host_fedora.sh @@ -7,6 +7,13 @@ for i in $(seq 0 2); do sleep "$i" "${DNF[@]}" update && "${DNF[@]}" install "${RPMS[@]}" && break done + +# criu-4.1-1 has a known bug (https://github.com/checkpoint-restore/criu/issues/2650) +# which is fixed in criu-4.1-2 (currently in updates-testing). TODO: remove this later. +if [[ $(rpm -q criu) == "criu-4.1-1.fc"* ]]; then + "${DNF[@]}" --enablerepo=updates-testing update criu +fi + dnf clean all # To avoid "avc: denied { nosuid_transition }" from SELinux as we run tests on /tmp.