[pkg-lxc-devel] Bug#1118768: lxc-templates: included config file has config for cgroup1 on a cgroup2 system
Richard Hector
richard at walnut.gen.nz
Sat Oct 25 03:31:32 BST 2025
Package: lxc-templates
Version: 3.0.4.48.g4765da8-1+deb12u1
Severity: normal
Dear Maintainer,
lxc-templates includes configuration files such as
/usr/share/lxc/config/debian.common.conf, which are included by the
specific container config.
The above file includes lines such as:
lxc.cgroup.devices.allow = c 254:0 rm
I believe these are for cgroup1 systems, but these files are still
being installed on cgroup2 systems.
I'm no expert, but I suspect that's the reason for these warnings:
lxc max-wp1 20241104110429.560 WARN cgfsng - ../src/lxc/cgroups/cgfsng.c:cgfsng_setup_limits_legacy:3155 - Invalid argument - Ignoring legacy cgroup limits on pure cgroup2 system
That may be just a warning, but presumably this is ineffective, and
there should be equivalent cgroup2 lines somewhere?
I'm still running bookworm, but I checked the trixie package, and that
file has the same entries in it.
Cheers,
Richard
More information about the Pkg-lxc-devel
mailing list