Skip to content

Use Control Group v2#3

Merged
agners merged 2 commits into2022.02.x-haosfrom
2022.02.x-haos-cgroup-v2
Aug 9, 2022
Merged

Use Control Group v2#3
agners merged 2 commits into2022.02.x-haosfrom
2022.02.x-haos-cgroup-v2

Conversation

@agners
Copy link
Member

@agners agners commented Aug 8, 2022

This patchset (re-)enables Control Group v2. It also adds support for device permission updates to runc which is required by OS-Agent to provide a working AddDevicesAllowed API for Control Group v2.

This requires home-assistant/os-agent#92 to be useful.

agners added 2 commits August 6, 2022 15:00
…fied""

This reverts commit 8b00576.

Home Assistant OS can now handle CGroup v2.
Add support to update device resources through runc update --resources
command. This is required by the Home Assistant OS-Agent to provide
device permission updates for the system.

Long-term a similar function should get added to runc upstream, so it
can be used through directly calling runc or even the Docker API.

Signed-off-by: Stefan Agner <stefan@agner.ch>
@agners agners merged commit 50be313 into 2022.02.x-haos Aug 9, 2022
@sairon sairon deleted the 2022.02.x-haos-cgroup-v2 branch January 9, 2024 16:22
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