From d4955c0e8325ec6a6bb5123d60a0aa557547bc34 Mon Sep 17 00:00:00 2001 From: Adrian Vladu Date: Fri, 25 Oct 2024 14:32:43 +0000 Subject: [PATCH] cgroupv1: set Linux cmd arg SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 to work with systemd >= v256 See: https://github.com/flatcar/scripts/pull/2145 --- kola/tests/misc/cgroup1.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kola/tests/misc/cgroup1.go b/kola/tests/misc/cgroup1.go index b2eeb1110..6299f4943 100644 --- a/kola/tests/misc/cgroup1.go +++ b/kola/tests/misc/cgroup1.go @@ -25,6 +25,11 @@ func init() { "contents": { "source": "data:," }, "mode": 420 }] + }, + "kernelArguments": { + "shouldExist": [ + "SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1" + ] } }`)