-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rough thoughts on cgroup1 and cgroup2
cgroup1 the various container tool run scripts variably handle certain cases, namely that of the systemd tracking cgroup. i am actually not 100% confident on why that cgroup needs to be mounted, but i imagine it has to do with the needs of systemd instances that may be running in containers. anyway supposedly it needed to be mounted at one point so the run scripts would do it. but if the run scripts did it, it could not have been that harmful. so just do it always. (in legacy/hybrid mode, which I have not been using for some time). cgroup2 alright so while we are at it default to pure-cgroup2 / "unified". i don't know why anyone would want to use a hybrid. and i own a phev. cgroup2 is just a better default. more compatible and future proof. to top it off, start mounting cgroup2 when running in a container. because LXD can not or will not do that for us, the container. this actually ignores rc.conf completely. might need some work
- Loading branch information
1 parent
ccdfcb7
commit 9633027
Showing
3 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters