Bug 217838
Summary: | Systemd nowadays mounts Cgroups v2 | ||
---|---|---|---|
Product: | Documentation | Reporter: | Göran Uddeborg (goeran) |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | NEW --- | ||
Severity: | normal | CC: | r.pandian |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Göran Uddeborg
2023-08-28 11:35:46 UTC
Hi Göran, Can you give us more info? - How to replicate this? - What version of Fedora are you using? Rajesh Ok Göran, I get what you mean but when I check man cgroups I find enough reference for v2. So what's the exact note you are referring to? You are correct that the text is often amended by saying systemd mounts the v2 hierarchy on modern systems. But there is one section saying Note that on many systems, the v1 controllers are automatically mounted under /sys/fs/cgroup; in particular, systemd(1) automatically creates such mounts. In that place there is no mention that the comment only applies to older systems. (FYI: When I wrote the bug I was running Fedora 38, and have since upgraded to Fedora 39. But you can see the problem also at https://www.man7.org/linux/man-pages/man7/cgroups.7.html I discovered the issue when translating the manual page to Swedish.) (In reply to Göran Uddeborg from comment #3) > You are correct that the text is often amended by saying systemd mounts the > v2 hierarchy on modern systems. But there is one section saying > > Note that on many systems, the v1 controllers are automatically > mounted under /sys/fs/cgroup; in particular, systemd(1) > automatically creates such mounts. > > In that place there is no mention that the comment only applies to older > systems. > > (FYI: When I wrote the bug I was running Fedora 38, and have since upgraded > to Fedora 39. But you can see the problem also at > https://www.man7.org/linux/man-pages/man7/cgroups.7.html I discovered the > issue when translating the manual page to Swedish.) Got you. I also see the following mentioned under the section "Cgroups v2 unified hierarchy" "Note that on many modern systems, systemd(1) automatically mounts the cgroup2 filesystem at /sys/fs/cgroup/unified during the boot process." May be reuse that and replace the one you have noted with the above? Does that work? Yes, that sounds like a good solution. |