[pkg-lxc-devel] Bug#1010469: Bug#1010469: Bug#1010469: Bug#1010437: autopkgtest: autopkgtest-build-lxc fails to build working lxc environment

Julian Gilbey jdg at debian.org
Fri May 12 12:19:36 BST 2023


On Fri, May 12, 2023 at 11:54:30AM +0200, Pierre-Elliott Bécue wrote:
> Julian Gilbey <jdg at debian.org> wrote on 12/05/2023 at 11:39:33+0200:
> [...]
> > Hi Pierre-Elliott,
> >
> > Thanks so much for the quick response, that's really helpful!
> >
> > Unfortunately, this doesn't seem to be the issue, though:
> > [...]

Hi Pierre-Elliott,

Thanks!  :-)

> What do you have in /etc/lxc/lxc-usernet ?

jdg veth lxcbr0 10

(But I'm trying to start the container as root, having su'd from jdg,
in case that's relevant.  And I have the subuid/subgid set up
correctly.)

> Also, what is your container config, please?

I assume you mean /var/lib/lxc/debian-sid/config?  Here's the content
of this file:

# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template: -d debian -r sid -a amd64
# 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)


# Distribution configuration
lxc.include = /usr/share/lxc/config/common.conf
lxc.arch = linux64

# Container specific configuration
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
lxc.rootfs.path = dir:/var/lib/lxc/debian-sid/rootfs
lxc.uts.name = debian-sid

# Network configuration
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up


As a non-expert, this looks fine, but there may be something awry
here.  I've had numerous lxc problems with my machine, and have no
idea why :(

Best wishes,

   Julian



More information about the Pkg-lxc-devel mailing list