You are not logged in.
Pages: 1
Referring to https://wiki.archlinux.org/index.php/Cg … v1_cgroups.
`sysctl cgroup_no_v1="all"` gives the following error.
sysctl: cannot stat /proc/sys/cgroup_no_v1: No such file or directory
I tried `sys.cgroups_no_v1` and `sys.cgroups_no_v1` with the same result.
What am I missing?
Last edited by desperado (2020-05-10 05:42:07)
Offline
You can't delete posts, fair warning, don't make a habit of it: https://wiki.archlinux.org/index.php/Co … way_street
Moving to Kernel and Hardware.
That said, I'm unsure as to what you are asking, the page talks about disabling a kernel parameter, not every kernel parameter is runtime adjustable via sysctl apparently including these cgroup flags. What happens if you actually use a kernel parameter on the kernel cmdline ?
Offline
Is this an X-Y problem? What are you trying to achieve by disabling V1 cgroups? You could have systemd use a unified V2 hierarchy instead of V2 for systemd and v1 for all other processes.
Offline
@V1del, I assumed sysctl could handle all the kernel parameters. Thanks.
@loqs, how do I do that? The only other option I know of is to edit the initial ramdisk.
Offline
With the kernel parameter systemd.unified_cgroup_hierarchy. See the Kernel Command Line section of `man 1 systemd` for more details.
Offline
Pages: 1