Skip to content

Instantly share code, notes, and snippets.

@tixxdz
Last active August 29, 2022 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tixxdz/51a18628d9f4f95ff5d38e33fc811ad7 to your computer and use it in GitHub Desktop.
Save tixxdz/51a18628d9f4f95ff5d38e33fc811ad7 to your computer and use it in GitHub Desktop.
Tetragon Cgroupv2 ID and Name fixes

Tetragon logs:

Run tetragon standalone then in an other terminal run command id.

  1. Without patch command id on cgroupv2 with only memory and pids controllers
time="2022-08-29T08:49:19+02:00" level=trace msg="process_exec: no container ID due to cgroup name not being a compatible ID, ignoring." cgroup.id=154 cgroup.name=user.slice process.binary=/usr/bin/id process.exec_id=OjQ4OTg5MTU4Mjc3MDY2OjE5MzA1
  1. With cgroup hierarchies fixes
time="2022-08-29T16:23:41+02:00" level=trace msg="process_exec: no container ID due to cgroup name not being a compatible ID, ignoring." cgroup.id=9446 cgroup.name=session-13.scope process.binary=/usr/bin/id process.exec_id=Ojc2MjcxNjUyNzEwOTk0OjIwMjI3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment