Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use Control Group v2 #3

Merged
merged 2 commits into from
Aug 9, 2022
Merged

Use Control Group v2 #3

merged 2 commits into from
Aug 9, 2022

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.

…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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants