Skip to content

Commit

Permalink
package/systemd: set cgroups default-hierarchy to unified
Browse files Browse the repository at this point in the history
Use the unified hierarchy, which is systemds default since v243.
The biggest holdover was docker which now supports the unified
layout.

Note that systemd will automatically fallback to hybrid if the
kernel is too old or the unified hierarchy fails for other reasons.

Signed-off-by: Norbert Lange <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
nolange authored and arnout committed Jan 9, 2022
1 parent c39e0ab commit f90d231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/systemd/systemd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ SYSTEMD_SELINUX_MODULES = systemd udev xdg
SYSTEMD_PROVIDES = udev

SYSTEMD_CONF_OPTS += \
-Ddefault-hierarchy=hybrid \
-Ddefault-hierarchy=unified \
-Didn=true \
-Dima=false \
-Dkexec-path=/usr/sbin/kexec \
Expand Down

0 comments on commit f90d231

Please sign in to comment.