mirror of
https://github.com/systemd/systemd.git
synced 2025-01-27 18:04:05 +03:00
Lennart Poettering
98bac6058c
core: report root cgroup as "/" over the bus
Internally, the root cgroup is stored as the empty string in Unit.cgroup_path, and "no cgroup" as NULL. Unfortunately, D-Bus does not know a NULL concept, hence when reporting the cgroup to clients we should turn the root cgroup into "/", and leave the empty string for the "no cgroup" case. This should make sure that "systemctl status -- -.slice" works correctly and shows the entire cgroup tree.
systemd - System and Service Manager
Details
- General information about systemd can be found in the systemd Wiki
- Information about build requirements are provided in the README file
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%