Skip to content
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

Fix LXC/LXD and machined detection for cgroups v2 #238

Merged
merged 1 commit into from Mar 16, 2022

Conversation

lathiat
Copy link
Contributor

@lathiat lathiat commented Mar 10, 2022

The second field is always blank in cgroups v2 unlike v1, adjust parsing to
support both cases for LXC/LXD and machined. This is the same fix as previously
made for Docker in #234.

Example: 0::/lxc.payload.focal/system.slice/avahi-daemon.service

The second field is always blank in cgroups v2 unlike v1, adjust parsing to
support both cases for LXC/LXD and machined. This is the same fix as previously
made for Docker in liske#234.

Example: 0::/lxc.payload.focal/system.slice/avahi-daemon.service
@liske
Copy link
Owner

liske commented Mar 16, 2022

Cc #235

@liske liske added this to the v3.6 milestone Mar 16, 2022
@liske liske merged commit eb3531a into liske:master Mar 16, 2022
@liske
Copy link
Owner

liske commented Mar 16, 2022

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants