Skip to content

Support Device CGroup rules update through runc#92

Merged
agners merged 4 commits intohome-assistant:mainfrom
agners:add-cgroup-v2-support-through-runc
Aug 8, 2022
Merged

Support Device CGroup rules update through runc#92
agners merged 4 commits intohome-assistant:mainfrom
agners:add-cgroup-v2-support-through-runc

Conversation

@agners
Copy link
Member

@agners agners commented Aug 8, 2022

With CGroups v2, device CGroup rules update is not as straight forward
since it requires ebpf rules. Currently, runc does support updating
this ebpf rules, but when using the runc update command new device
rules are not passed yet. A patched runc version (and hopefully future
runc versions) support updating device resources, see:
opencontainers/runc#3402

Use this (patched) runc capability to support Device CGroup rules
updates with CGroups v2.

With CGroups v2, device CGroup rules update is not as straight forward
since it requires ebpf rules. Currently, runc does support updating
this ebpf rules, but when using the runc update command new device
rules are not passed yet. A patched runc version (and hopefully future
runc versions) support updating device resources, see:
opencontainers/runc#3402

Use this (patched) runc capability to support Device CGroup rules
updates with CGroups v2.
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.

3 participants