[elbe-devel] [PATCH 0/1] Fix noauth in pbuilder
dion at linutronix.de
dion at linutronix.de
Thu Jul 18 16:01:59 CEST 2019
From: Olivier Dion <dion at linutronix.de>
On 2019-07-18T08:32:36+0200, Yegor Yefremov wrote:
> On Wed, Jul 17, 2019 at 8:42 AM Yegor Yefremov
> <yegorslists at googlemail.com> wrote:
> >
> > I'm trying to create pbuilder environment on Ubuntu 18.04 for Buster
> > and get following error in log.txt:
This bug can be reproduce like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ ./elbe pbuilder create --xmlfile examples/x86_64-pc-hdimg-pbuilder\
-grub-buster.xml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's important to put the <noauth> node in the mentioned example file.
> > The command itself says build was successful:
Never trust elbe on that.
> Seems like "noauth" mechanism is broken. I can see where
Yet again.
> --no-check-gpg comes from but I cannot find the place where
> --force-check-gpg is defined.
In the pbuilerrc you can see this:
``````````````````````````````````````````````````````````````````````
DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}", "--no-check-gpg")
``````````````````````````````````````````````````````````````````````
Try this in your initvm:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ pbuilder dumpconfig 2>/dev/null | grep DEBOOTSTRAPOPTS
DEBOOTSTRAPOPTS=([0]="--variant-buildd" [1]="--force-check-gpg")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Should one be concerned about these warnings?
> W: /.pbuilderrc does not exist
> W: cgroups are not available on the host, not using them.
I don't think so. I have these warnings by using the mentioned example
(without the noauth node) and the bug is not present.
Olivier Dion (1):
Remove --force-check-gpg from DEBOOTSTRAPOPTS when <noauth>.
elbepack/pbuilder.py | 1 +
1 file changed, 1 insertion(+)
--
2.11.0
More information about the elbe-devel
mailing list