[pkg-lxc-devel] Bug#1135376: Breaks lxc-templates
Michael Biebl
biebl at debian.org
Fri May 1 21:06:42 BST 2026
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
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.3+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lxc depends on:
ii debconf [debconf-2.0] 1.5.92
ii dnsmasq-base [dnsmasq-base] 2.92-4
ii iproute2 7.0.0-1
ii iptables 1.8.13-1
ii libapparmor1 4.1.7-2
ii libc6 2.42-15
ii libcap2 1:2.78-1
ii libdbus-1-3 1.16.2-4
ii libgcc-s1 16-20260425-1
ii liblxc-common 1:7.0.0-1
ii liblxc1t64 1:7.0.0-1
ii libseccomp2 2.6.0-2+b1
ii libselinux1 3.10-1
ii nftables 1.1.6-1+b1
Versions of packages lxc recommends:
ii apparmor 4.1.7-2
ii debootstrap 1.0.143
ii dirmngr 2.4.9-4
pn distrobuilder <none>
ii gnupg 2.4.9-4
ii libpam-cgfs 1:7.0.0-1
ii lxcfs 7.0.0-1
ii openssl 3.6.2-1
ii rsync 3.4.2+ds1-2
ii uidmap 1:4.19.3-2
ii wget 1.25.0-2
Versions of packages lxc suggests:
ii btrfs-progs 6.19.1-1
ii criu 4.2-3
ii lvm2 2.03.31-2+b2
pn python3-lxc <none>
-- debconf information excluded
More information about the Pkg-lxc-devel
mailing list