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

Julian Gilbey jdg at debian.org
Fri May 6 08:15:58 BST 2022


Hi Paul and lxc maintainers,

lxc maintainers: sorry, I intended to copy in #1010469 in my previous
message but didn't do so; a possible cause of this bug is discussed
below

On Tue, May 03, 2022 at 06:36:36PM +0200, Paul Gevers wrote:
> Hi Julian,
> 
> Sorry for the silence, you're doing great work.

Yes, I was determined to get it to work!

> On 03-05-2022 18:19, Julian Gilbey wrote:
> > I've now done more searching, and the conclusion I've come to is that
> > this is that this is the same issue discussed in
> > https://wiki.debian.org/LXC/CGroupV2#LXC_containers_started_by_root
> > (and in various other bug reports); by adding the two lines
> > 
> > lxc.cgroup.devices.allow =
> > lxc.cgroup.devices.deny =
> > 
> > to the file /var/lib/lxc/autopkgtest-unstable/config, I was able to
> > start the container.  But I'm running lxc version 1:4.0.11-1 and that
> > wiki page says this change is unnecessary from version 4.0.2-1~1
> > onwards, which does not seem to be the case.
> > 
> > lxc: I don't know whether the wiki is wrong or some change made in
> > 4.0.2-1 has been reverted more recently.  Either way, it would be
> > great to resolve this discrepancy.
> 
> I wonder if you refer to
> https://bugs.debian.org/902394
> https://bugs.debian.org/904732

I was thinking more of
https://bugs.debian.org/944389

> Our infrastructure (where we don't experiences issues and are using the
> autopkgtest/debci/autodep8 packages from unstable on an otherwise stable
> system) runs lxc version 1:4.0.6-2. So that maybe limiting the changes
> further.

And I'm on 1:4.0.11-1.  So perhaps there was a regression in this
regard?

Best wishes,

   Julian



More information about the Pkg-lxc-devel mailing list