-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemctl status shows wrong cgroup tree #21945
Comments
I wonder if this issue is related to #22089, since it seems to be in the same area. |
Yup, reverting 038cae0 helps. Reproducer:
|
As net_cls cgroup has all processes. Fixes systemd#21945.
Also systemd-cgls is broken when net_cls is mounted. Fix is waiting in #22095. |
That's not the case for me. |
As I commented on #22095, I don't think this is something we can support:
You need to either revert to cgroup-v1 or hybrid mode, or (very very much preferred) fix the software in question to use cgroups-v2. |
For reference, this is the doc: https://systemd.io/CGROUP_DELEGATION/ |
Alright, thanks for explanation
I'll read some more on cgroups and report it there |
systemd version the issue has been seen with
Used distribution
Linux kernel version used (
uname -a
)CPU architecture issue was seen on
Expected behaviour you didn't see
Unexpected behaviour you saw
![image](https://user-images.githubusercontent.com/22731198/147792525-43fbcb48-8c1f-4cd2-b87e-00069c2a2cdd.png)
After updating from 249.7,
systemctl status
started showing a flat process list undernet_cls
. As far as I know, my VPN software [1] usesnet_cls
cgroups to control split tunneling.If I stop VPN service and unmount
/sys/fs/cgroup/net_cls
, issue is (temporarily) fixed.systemd-cgls
is unaffected.systemctl status --user
works fine as well.[1] https://github.com/mullvad/mullvadvpn-app
The text was updated successfully, but these errors were encountered: