[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#601011: debootstrap: Fails without an error when it can't create devices



On Fri, Oct 22, 2010 at 03:04:28PM +0200, Mike Hommey wrote:
> Package: debootstrap
> Version: 1.0.25
> Severity: important
> 
> When debootstrap can't extract devices.tar.gz for some reason, it exists
> with an error code 2, but doesn't say anything as to why it failed.
> 
> Following with strace, it appears the one failing is tar, because it can't
> extract (mknod) the devices from devices.tar.gz. This happened on my system
> because I was trying to debootstrap from within an lxc instance created
> with the default template which disabled a whole bunch of devices.
> 
> Please at least handle the error and display tar's error message.
> 
> A bonus point if you just ignore the error, as the failing devices here were
> really not important to the chroot:
> dev/full
> dev/kmem
> dev/loop*
> dev/mem
> dev/port
> dev/ram*

FWIW, cdebootstrap doesn't create these expect dev/full, which it fails
to create but doesn't care.

Mike



Reply to: