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

Antonio Terceiro terceiro at debian.org
Fri May 6 12:53:35 BST 2022


On Fri, May 06, 2022 at 08:15:58AM +0100, Julian Gilbey wrote:
> 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?

No. I use this version and lxc just works for me. In fact everyone else
who is on testing/unstable is also using it. lxc also just works on a
clean VM. There is something wrong with your system that is causing
this, but it's in no way a general problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20220506/89685e9b/attachment.sig>


More information about the Pkg-lxc-devel mailing list