[pkg-lxc-devel] Bug#1144803: lxc: autopkgtest fails under incus-lxc: several test failures

Mathias Gibbens gibmat at debian.org
Sat Sep 26 18:45:40 BST 2026


control: tags -1 + pending

On Tue, 2026-08-18 at 20:49 -0300, Antonio Terceiro wrote:
> Debian CI is switching away from lxc containers in favor of incus Containers.
> This is motivated by security concerns from us; incus is based on lxc, but
> orchestrates containers substantially different: containers are not privileged
> (so root in the container is not uid 0 outside of it, and incus imposes a
> stricter isolation from the host system.
> 
> lxc passes its tests under lxc, but fails under incus. This is a bit ironic. :-)

  Yeah, that's funny, but caused by exactly what makes Incus a better
CI environment -- unprivileged containers by default. :) I've added a
commit[0] for lxc's packaging that's similar to what Leah (CC'ed) has
proposed coming from Ubuntu's packaging of lxc.

  I think there will be a new lxc release (7.0.1) in the near future,
so I'll plan to include this change in the next release of Debian's
packaging of lxc.

> If you decide to add the `isolation-machine` restriction to get this package
> tested under qemu, please mention that explicitly when closing this bug (it's
> fine to do that only in the package changelog entry that closes the bug) so
> that we can configure your package for qemu on ci.debian.net.

  Running the autopkgtests within a VM will give full test coverage, so
in an ideal world that would be preferable to running a subset of the
tests in containers. If I remember correctly, in the past QEMU runners
in the CI infrastructure were limited to just amd64 (and maybe arm64?),
is that still true? Or are QEMU runners available for all architectures
that run CI tests? If not, I'd choose to keep running lxc's subset of
tests within containers on all CI architectures versus running all of
lxc's tests on just amd64 and/or arm64 within VMs.

Mathias

[0] -- https://salsa.debian.org/lxc-team/lxc/-/commit/68f9f3d4a36afc954cb96002db372f8d637c1579
-------------- 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/20260926/41293bfa/attachment.sig>


More information about the Pkg-lxc-devel mailing list