[Bug 684051] [NEW] qemu-debootstrap doesn't parse --keyring correctly

Stefano Rivera launchpad at rivera.za.net
Thu Dec 2 09:39:35 GMT 2010


Public bug reported:

Binary package hint: qemu-kvm

pbuilder passes arguments to qemu-debootstrap which it doesn't parse                                                                                                                
correctly:                                                                                                                                                                          
                                                                                                                                                                                    
| # pbuilder --create --distribution sid --debootstrapopts --arch=armel --debootstrap qemu-debootstrap                                                                              
|...                                                                                                                                                                                
| I: running qemu-debootstrap                                                                                                                                                       
| /usr/bin/qemu-debootstrap                                                                                                                                                         
| I: Running command: debootstrap --arch armel --foreign --include=apt --variant=buildd --keyring /usr/share/keyrings/debian-archive-keyring.gpg sid . http://cdn.debian.net/debian 
|...                                                                                                                                                                                
| I: Running command: chroot sid /debootstrap/debootstrap --second-stage                                                                                                            
| chroot: failed to run command `/debootstrap/debootstrap': No such file or directory                                                                                               
| E: qemu-debootstrap failed                                                                                                                                                        
| W: Aborting with an error                                                                                                                                                         
                                                                                                                                                                                    
The bug is qemu-debootstrap can parse --keyring=foo but not --keyring foo. It                                                                                                       
shifts all the arguments up by one, and thinks "sid" is the target, rather than                                                                                                     
the distribution.                                                                                                                                                                   
                                                                                                                                                                                    
Patch attached.                                                                                                                                                                     
                                                                                                                                                                                    
SR

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: qemu (Debian)
     Importance: Unknown
         Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/684051

Title:
  qemu-debootstrap doesn't parse --keyring correctly



More information about the Ubuntu-server-bugs mailing list