Skip to content

Commit 9bcd70d

Browse files
authored
[Kernel Config] disable cgroupv1 with built-in cmdline (#78)
Fixes issues when using systemd 256 Ref: microsoft/WSL#6662 Co-authored-by: Andarwinux <[email protected]>
1 parent f5088cb commit 9bcd70d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wsl2_defconfig

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ CONFIG_EFI_MIXED=y
8181
CONFIG_HZ_1000=y
8282
CONFIG_PHYSICAL_ALIGN=0x1000000
8383
CONFIG_LEGACY_VSYSCALL_NONE=y
84+
CONFIG_CMDLINE_BOOL=y
85+
CONFIG_CMDLINE="cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1"
8486
# CONFIG_SUSPEND is not set
8587
# CONFIG_ACPI_SPCR_TABLE is not set
8688
# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set

0 commit comments

Comments
 (0)