[pkg-lxc-devel] Bug#1135376: Breaks lxc-templates

Mathias Gibbens gibmat at debian.org
Fri May 1 21:15:41 BST 2026


control: tags -1 + confirmed

  I'm just about to upload an updated lxc-templates that switches to
the CGroupV2 configuration in the shared template files.

Mathias

On Fri, 2026-05-01 at 22:06 +0200, Michael Biebl wrote:
> Package: lxc
> Version: 1:7.0.0-1
> Severity: serious
> 
> 
> Hi,
> 
> I have several debian containers that were created via
> autopkgtest-build-lxc debian $release.
> 
> The latest release of lxc broke all those container.
> They fail to start, upgrade, destroy or inspect.
> 
> Here is an example:
> 
> # lxc-ls
> lxc-ls: ../src/lxc/confile.c: set_config_unsupported_key: 165 Invalid argument - Unsupported config key "lxc.cgroup.devices.allow"
> lxc-ls: ../src/lxc/parse.c: lxc_file_for_each_line_mmap: 135 Failed to parse config file "/usr/share/lxc/config/debian.common.conf" at line "lxc.cgroup.devices.allow = c 254:0 rm"
> lxc-ls: ../src/lxc/parse.c: lxc_file_for_each_line_mmap: 135 Failed to parse config file "/var/lib/lxc/autopkgtest-sid/config" at line "lxc.include = /usr/share/lxc/config/debian.common.conf"
> Failed to load config for autopkgtest-trixie
> 
> 
> /usr/share/lxc/config/debian.common.conf is shipped by lxc-templates and
> included in the container configuration.
> 
> For example, the trixie lxc container using
> /var/lib/lxc/autopkgtest-trixie/config:
> 
> 
> # Template used to create this container: /usr/share/lxc/templates/lxc-debian
> # Parameters passed to the template: -r trixie
> # For additional config options, please look at lxc.container.conf(5)
> 
> # Uncomment the following line to support nesting containers:
> #lxc.include = /usr/share/lxc/config/nesting.conf
> # (Be aware this has security implications)
> 
> lxc.net.0.type = veth
> lxc.net.0.hwaddr = XX:XX:XX:XX:XX:XX
> lxc.net.0.link = lxcbr0
> lxc.net.0.flags = up
> lxc.apparmor.profile = generated
> lxc.apparmor.allow_nesting = 1
> lxc.rootfs.path = dir:/var/lib/lxc/autopkgtest-trixie/rootfs
> 
> # Common configuration
> lxc.include = /usr/share/lxc/config/debian.common.conf
> 
> # Container specific configuration
> lxc.tty.max = 4
> lxc.uts.name = autopkgtest-trixie
> lxc.arch = amd64
> lxc.pty.max = 1024
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20260501/ab1a8dda/attachment.sig>


More information about the Pkg-lxc-devel mailing list