diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-06-20 19:13:05 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-06-29 07:12:51 +0200 |
commit | f0a7917bc8ea0ba859e10093517e33f2bad78f10 (patch) | |
tree | 68dce7b70d5577a3f533a6119b8775701279055c /meson_options.txt | |
parent | 4f703de664738f58bc92834f2cd75234254eb07f (diff) |
Fix cgroup directory mounting:
A little misunderstanding has been fixed, and elogind now mounts the following
directories, if (and only if) it has to act as its own cgroups controller.
* -Ddefault-hierarchy=legacy : /sys/fs/cgroup as tmpfs
/sys/fs/cgroup/elogind as cgroup
* -Ddefault-hierarchy=hybrid : The same as with 'legacy', plus
/sys/fs/cgroup/unified as cgroup2
* -Ddefault-hierarchy=unified : /sys/fs/cgroup2 as cgroup2
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt index 0fa3f1896..84100b629 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -189,9 +189,10 @@ option('default-hierarchy', type : 'combo', # description : 'time epoch for time clients') #else description : '''Wanted cgroup hierarchy if elogind has to be a cgroup controller: - "legacy" assumes cgroups version 1 mounted on /sys/fs/cgroup - "hybrid" assumes cgroups version 2 mounted on /sys/fs/cgroup/unified and - cgroups version 1 mounted on /sys/fs/cgroup. + "legacy" assumes tmpfs mounted on /sys/fs/cgroup and cgroup on its + subfolders. + "hybrid" assumes cgroups version 2 mounted on /sys/fs/cgroup/unified. + /sys/fs/cgroup is legacy, then. "unified" assumes cgroups version 2 on /sys/fs/cgroup''') option('cgroup-controller', type : 'string', description : 'Name of the cgroup controller to use') |