[Bug 671126] Re: --keyring argument breaks qemu-debootstrap
Bug Watch Updater
671126 at bugs.launchpad.net
Thu Aug 11 05:32:41 UTC 2011
** Changed in: pbuilder (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/671126
Title:
--keyring argument breaks qemu-debootstrap
Status in “pbuilder” package in Ubuntu:
Fix Released
Status in “qemu-kvm” package in Ubuntu:
Invalid
Status in “pbuilder” package in Debian:
Fix Released
Bug description:
Binary package hint: pbuilder
The file /usr/share/pbuilder/pbuilderrc defines:
# Set the debootstrap variant to 'buildd' type.
DEBOOTSTRAPOPTS=(
'--variant=buildd'
'--keyring' '/usr/share/keyrings/ubuntu-archive-keyring.gpg'
)
When we create an armel chroot using pbuilder create, we call build-
arm-chroot / qemu-debootstrap. The DEBOOTSTRAPOPTS arg is passed, and
it turns out that qemu-debootstrap has trouble parsing the command
line arguments if there is a space between the option and the value.
This in turn causes the chroot creation to fail later, as we attempt
to run debootstrap in the chroot:
http://pastebin.ubuntu.com/525893/
Arguably, the command line parsing of qemu-debootstrap should be
fixed, but there's nothing wrong or hacky about using the
--option=value style of passing arguments to debootstrap. debootstrap
itself can handle both styles.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/671126/+subscriptions
More information about the foundations-bugs
mailing list