linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 217838] New: Systemd nowadays mounts Cgroups v2
@ 2023-08-28 11:35 bugzilla-daemon
  2023-12-27  8:03 ` [Bug 217838] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-08-28 11:35 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

            Bug ID: 217838
           Summary: Systemd nowadays mounts Cgroups v2
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: goeran@uddeborg.se
        Regression: No

There is a note in the cgroups.7 manual page saying that systemd automatically
all the cgroups v1 controllers. This is no longer correct; at least on my
Fedora system it mounts a cgroup2 hierarchy instead.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 217838] Systemd nowadays mounts Cgroups v2
  2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
@ 2023-12-27  8:03 ` bugzilla-daemon
  2023-12-27  9:05 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-27  8:03 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

Rajesh (r.pandian@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.pandian@gmail.com

--- Comment #1 from Rajesh (r.pandian@gmail.com) ---
Hi Göran,

Can you give us more info?

- How to replicate this?
- What version of Fedora are you using?

Rajesh

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 217838] Systemd nowadays mounts Cgroups v2
  2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
  2023-12-27  8:03 ` [Bug 217838] " bugzilla-daemon
@ 2023-12-27  9:05 ` bugzilla-daemon
  2023-12-29 21:09 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-27  9:05 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

--- Comment #2 from Rajesh (r.pandian@gmail.com) ---
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 may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 217838] Systemd nowadays mounts Cgroups v2
  2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
  2023-12-27  8:03 ` [Bug 217838] " bugzilla-daemon
  2023-12-27  9:05 ` bugzilla-daemon
@ 2023-12-29 21:09 ` bugzilla-daemon
  2023-12-30  5:43 ` bugzilla-daemon
  2023-12-30 10:01 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-29 21:09 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

--- Comment #3 from Göran Uddeborg (goeran@uddeborg.se) ---
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.)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 217838] Systemd nowadays mounts Cgroups v2
  2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-12-29 21:09 ` bugzilla-daemon
@ 2023-12-30  5:43 ` bugzilla-daemon
  2023-12-30 10:01 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-30  5:43 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

--- Comment #4 from Rajesh (r.pandian@gmail.com) ---
(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?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 217838] Systemd nowadays mounts Cgroups v2
  2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2023-12-30  5:43 ` bugzilla-daemon
@ 2023-12-30 10:01 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-12-30 10:01 UTC (permalink / raw)
  To: linux-man

https://bugzilla.kernel.org/show_bug.cgi?id=217838

--- Comment #5 from Göran Uddeborg (goeran@uddeborg.se) ---
Yes, that sounds like a good solution.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-30 10:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 11:35 [Bug 217838] New: Systemd nowadays mounts Cgroups v2 bugzilla-daemon
2023-12-27  8:03 ` [Bug 217838] " bugzilla-daemon
2023-12-27  9:05 ` bugzilla-daemon
2023-12-29 21:09 ` bugzilla-daemon
2023-12-30  5:43 ` bugzilla-daemon
2023-12-30 10:01 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).