diff options
author | ap4y <mail@ap4y.me> | 2020-09-30 21:54:59 +1300 |
---|---|---|
committer | Andrew J. Hesford <48421688+ahesford@users.noreply.github.com> | 2021-03-13 19:27:18 -0500 |
commit | 42ca737148ea530dad5945af1a4eb7e471e8b637 (patch) | |
tree | 32125d283a4d85ba8661943959ee3a2a12b8eb12 /core-services/04-swap.sh | |
parent | 288f526f23eb6270f6c902883e9a3092dc4972fa (diff) | |
download | runit-void-20210314.tar.gz runit-void-20210314.tar.xz runit-void-20210314.zip |
Support pure v2 cgroup mounts 20210314
Some of the tooling that rely on cgroups (notably podman, runc and crun) enable cgroup2 mode only if /sys/fs/cgroup has a v2 magic number. This commit introduces configuration option that controls the way cgroup is mounted, 3 modes are supported: - hybrid: current mode with v1 and v2 mounted - unified: v2 only mode - legacy: v1 only mode This is modeled after OpenRC: https://github.com/OpenRC/openrc/blob/72df51e17ba0e1a0f94451b4bbfb338288c4625c/init.d/cgroups.in#L121-L129
Diffstat (limited to 'core-services/04-swap.sh')
0 files changed, 0 insertions, 0 deletions