From 402f8e675b73936abd3986f876ee656b6fabfbfd Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Mon, 21 Oct 2024 19:56:31 +0200 Subject: [PATCH] Add note about setting the force flag for cgroup v1 very new systemd versions --- doc/manual/install-judgehost.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/manual/install-judgehost.rst b/doc/manual/install-judgehost.rst index f3e7e975fa..dbb23e2f41 100644 --- a/doc/manual/install-judgehost.rst +++ b/doc/manual/install-judgehost.rst @@ -164,7 +164,8 @@ any other tasks on the same CPU core the judgedaemon is using: On modern distros (e.g. Debian bullseye and Ubuntu Jammy Jellyfish) which have cgroup v2 enabled by default, you need to add ``systemd.unified_cgroup_hierarchy=0`` -as well. Then run ``update-grub`` and reboot. +as well. If you are running systemd v257, you also need to add `SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1`. +Then run ``update-grub`` and reboot. After rebooting check that ``/proc/cmdline`` actually contains the added kernel options. On VM hosting providers such as Google Cloud or DigitalOcean, ``GRUB_CMDLINE_LINUX_DEFAULT`` may be overwritten