frostworx
(Frostworx)
June 22, 2024, 7:49am
1
currently you still have to enable cgroupsv1 for supervisor
Systemd cgroupsv1 has been deprecated and you need to forcefully enable it since systemd v256-rc3 by setting the kernel cmdline SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
.
This enables cgroupsv1 for now, but will delay the boot process for 30 seconds (see here for an upstream discussion)
The required systemd.unified_cgroup_hierarchy=false
kernel command line alone therefore no longer is enough, and the host os will not even boot without SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
being set additionally.
~Are there any active plans to switch to cgroupsv2 for supervisor?~
edit:
the current (24.07) state can be found here:
opened 12:51AM - 20 Jun 24 UTC
bug
### OS Version
Arch Linux
### System Information
Linux pclucas 6.9.5-arch1-1 … #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 x86_64 GNU/Linux
### What happened?
Systemd have deprecated cgroup v1, although it is still able to use v1 adding another kernel parameter. It'll still work for Debian 11, but I think the migration to v2 should be planned.
https://github.com/systemd/systemd/issues/30852
### Machine Type
generic-x86-64
### Installer output
_No response_
### Relevant log output
_No response_
### ADR
- [ ] I have read through the [ADR](https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md) and have confirmed that my system is compliant with the requirements
- [X] I understand that if my system is found to not be compliant, my issue will be closed immediately without further investigation
### Code of Conduct
- [X] I have read and agree to the [Home Assistant Code of Conduct](https://www.home-assistant.io/code_of_conduct/)
I used this open github issue before to report the issue, but it just got closed with OP issue was a different one.
edit:
supervised-installer upstream issue:
opened 12:51AM - 20 Jun 24 UTC
bug
### OS Version
Arch Linux
### System Information
Linux pclucas 6.9.5-arch1-1 … #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 x86_64 GNU/Linux
### What happened?
Systemd have deprecated cgroup v1, although it is still able to use v1 adding another kernel parameter. It'll still work for Debian 11, but I think the migration to v2 should be planned.
https://github.com/systemd/systemd/issues/30852
### Machine Type
generic-x86-64
### Installer output
_No response_
### Relevant log output
_No response_
### ADR
- [ ] I have read through the [ADR](https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md) and have confirmed that my system is compliant with the requirements
- [X] I understand that if my system is found to not be compliant, my issue will be closed immediately without further investigation
### Code of Conduct
- [X] I have read and agree to the [Home Assistant Code of Conduct](https://www.home-assistant.io/code_of_conduct/)
edit:
an ancient issue reported in the wrong place
opened 12:23AM - 06 Oct 23 UTC
closed 07:07AM - 06 Oct 23 UTC
unsupported
more-info
### Feedback
I started as fresh installation according to the installation guid… e this summer and I was being prompted about the "unsupported system - CGroup version"
I further checked the docker system info and found the version I have is version 2, which came with the installment of docker ce version.
Can you help to fix this false prompt? Thanks!
### URL
https://www.home-assistant.io/more-info/unsupported/cgroup_version/
### Version
2023.10.0
### Additional information
root@XXXXX:~# docker system info
Client: Docker Engine - Community
Version: 24.0.6
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.21.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 17
Running: 16
Paused: 0
Stopped: 1
Images: 18
Server Version: 24.0.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: journald
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
runc version: v1.1.9-0-gccaecfc
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.1.0-12-arm64
Operating System: Debian GNU/Linux 12 (bookworm)
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 3.699GiB
Name: rpi4-20230612
ID: c8df9f4c-407e-4faa-b6a4-9277542f3fa5
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
(no reference to a new one)
1 Like