Package: autopkgtest
Version: 5.33
Severity: normal
Control: block -1 by 933064

Hi,

Some time ago the lxc configuration did some renaming of options, notably lxc.network to lxc.net. In commit 413f15d we adapted partially for that, but the conversion of the local proxy to the testbed proxy fails because it only tests for lxc.network.link in the following block (in autopkgtest-build-lxc and autopkgtest-build-lxd):

  # translate proxy address to one that can be accessed from the
  # running container
local bridge_interface=$(awk '{ if ($1 == "lxc.network.link") print($3)}' /etc/lxc/default.conf)

Mind that fixing this bug might mean that people relying on the proxy not set might want to see bug 933064 fixed or otherwise we break work flows. (Hence the block by).

Note also that lxc.network is not backwards supported on trixie, so backwards compatibility support has already been removed for some time:
"""
paul@mulciber ~ $ sudo autopkgtest-build-lxc debian testing amd64
Detected local apt proxy, using http://192.168.122.1:3142 as container proxy
lxc-create: autopkgtest-testing-amd64.new: ../src/lxc/confile.c: set_config_unsupported_key: 164 Invalid argument - Unsupported config key "lxc.network.type"
...
"""

Paul

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       2.7.12
ii  libdpkg-perl    1.22.4
ii  mawk            1.3.4.20240123-1
ii  procps          2:4.0.4-4
ii  python3         3.11.6-1
ii  python3-debian  0.1.49

Versions of packages autopkgtest recommends:
ii  autodep8  0.28
ii  fakeroot  1.33-1

Versions of packages autopkgtest suggests:
pn  docker.io            <none>
pn  fakemachine          <none>
ii  genisoimage          9:1.1.11-3.4
pn  incus                <none>
ii  lxc                  1:5.0.3-2+b1
pn  lxd                  <none>
ii  ovmf                 2024.02-2
pn  ovmf-ia32            <none>
ii  podman               4.9.3+ds1-1
ii  python3-distro-info  1.7
pn  qemu-efi-aarch64     <none>
pn  qemu-efi-arm         <none>
pn  qemu-efi-riscv64     <none>
pn  qemu-system          <none>
ii  qemu-utils           1:8.2.1+ds-2
ii  schroot              1.6.13-3+b3
ii  util-linux           2.39.3-6
ii  vmdb2                0.28-2
ii  zerofree             1.1.1-1

-- no debconf information

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to