Skip to content

Commit 95a8253

Browse files
meisterTvmcj
authored andcommitted
Repeat the cgroupv2 warning message as it would helped a user recently.
(cherry picked from commit 60efd81)
1 parent 05c67cd commit 95a8253

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

judge/create_cgroups.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ for i in cpuset memory; do
1717
1818
To fix this, please make the following changes:
1919
1. In /etc/default/grub, add 'cgroup_enable=memory swapaccount=1' to GRUB_CMDLINE_LINUX_DEFAULT
20+
On modern distros (e.g. Debian bullseye and Ubuntu Jammy Jellyfish) which have cgroup v2 enabled by default,
21+
you need to add 'systemd.unified_cgroup_hierarchy=0' as well.
2022
2. Run update-grub
2123
3. Reboot" >&2
2224
exit 1

0 commit comments

Comments
 (0)