[lxc/lxc] 95ac49: lxc/cgroups: drop cgroup1 freezer support

Skip to first unread message

Stéphane Graber

unread,
Apr 22, 2026, 2:05:44 PM (6 days ago) Apr 22
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 95ac49ec6a0ddd674c926abf26f30c732938cd5d
https://github.com/lxc/lxc/commit/95ac49ec6a0ddd674c926abf26f30c732938cd5d
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
lxc/cgroups: drop cgroup1 freezer support

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: dfa8ea9763e84a8bcd1fc77685de67568e460296
https://github.com/lxc/lxc/commit/dfa8ea9763e84a8bcd1fc77685de67568e460296
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.h
M src/lxc/start.c

Log Message:
-----------
lxc/cgroup: drop cgroup1 device cgroup support

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 936fa062942f5e829478d9dc051f9f005f9e650d
https://github.com/lxc/lxc/commit/936fa062942f5e829478d9dc051f9f005f9e650d
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
lxc/cgroups: drop special handling logic for cgroup1 cpuset controller

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: db0d83e421cd93af57cf2c08cd180089c30f4538
https://github.com/lxc/lxc/commit/db0d83e421cd93af57cf2c08cd180089c30f4538
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
lxc/cgroups: drop cgroup1 mounting logic

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: f29c3a3a6e4b93100ad773c7cfb4098f6ba886e7
https://github.com/lxc/lxc/commit/f29c3a3a6e4b93100ad773c7cfb4098f6ba886e7
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
lxc/conf: drop cgroup1 config options (lxc.cgroup.*)

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 7d9be4a4b67d2580e36ebd6bb2e4ff68c910a320
https://github.com/lxc/lxc/commit/7d9be4a4b67d2580e36ebd6bb2e4ff68c910a320
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/tests/get_item.c
M src/tests/lxc-test-checkpoint-restore
M src/tests/parse_config_file.c

Log Message:
-----------
tests: use lxc.cgroup2 instead of lxc.cgroup

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 10538517295a0f91b179bd784b7a9b535fef4bdc
https://github.com/lxc/lxc/commit/10538517295a0f91b179bd784b7a9b535fef4bdc
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M config/templates/common.conf.in
M config/templates/userns.conf.in

Log Message:
-----------
config/templates: don't use cgroup1 settings

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: 27649a1f2422bd55004a9df68d7340f75ef15a98
https://github.com/lxc/lxc/commit/27649a1f2422bd55004a9df68d7340f75ef15a98
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M src/lxc/cgroups/cgroup.c

Log Message:
-----------
lxc/cgroups: warn if non-unified cgroup layout detected

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: eed40beb10eeaf2a39d79897b231390f431c9e43
https://github.com/lxc/lxc/commit/eed40beb10eeaf2a39d79897b231390f431c9e43
Author: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>
Date: 2026-04-21 (Tue, 21 Apr 2026)

Changed paths:
M doc/lxc.container.conf.sgml.in

Log Message:
-----------
doc: mention that legacy/hybrid hierarchy support is dropped

Signed-off-by: Alexander Mikhalitsyn <aleksandr....@futurfusion.io>


Commit: fe6b7ef01419907c9846119312c20095c389136e
https://github.com/lxc/lxc/commit/fe6b7ef01419907c9846119312c20095c389136e
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2026-04-22 (Wed, 22 Apr 2026)

Changed paths:
M config/templates/common.conf.in
M config/templates/userns.conf.in
M doc/lxc.container.conf.sgml.in
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.c
M src/lxc/cgroups/cgroup.h
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c
M src/tests/get_item.c
M src/tests/lxc-test-checkpoint-restore
M src/tests/parse_config_file.c

Log Message:
-----------
Merge pull request #4671 from mihalicyn/remove_cgroup1

remove cgroup1 support


Compare: https://github.com/lxc/lxc/compare/3ee89c5d95ee...fe6b7ef01419

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages