Can't identify LXC containers due to new /sys/fs/cgroup/cpuset/lxc path
LXC v3.11 (and possibly older) splits
/sys/fs/cgroup/cpuset/lxc
into
/sys/fs/cgroup/cpuset/lxc.monitor and /sys/fs/cgroup/cpuset/lxc.payload
As sysdig is expecting to find '/lxc/' in the path, it is no longer able to identify LXC containers.
Is there any lxc documentation about the difference between lxc.monitor and lxc.payload? I assume we would only care about the lxc.payload containers?
Not that I've found.
@stgraber might be able to shed some light on this.
Can confirm that sysdig seems to work after changing the path to '/lxc.payload/', working on a PR now.
This is not likely a complete fix however, as @stgraber commented here that
Also worth noting that on cgroupv2 the path may look even more different so those tools probably should be made a bit smarter.
Thanks for working on the PR. In order to support older versions of LXC the parsing logic would need to be able to find /lxc/ and /lcx.payload/ / /lxc.monitor/ containers
Related (same) issue: https://github.com/draios/sysdig/issues/1289
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.