Bug#569784: debootstrap: cannot build a clean Lenny chroot anymore
On Mon, Feb 15, 2010 at 2:41 PM, Frans Pop <elendil@planet.nl> wrote:
> On Monday 15 February 2010, Martin-Éric Racine wrote:
>> /usr/share/debootstrap/functions: line 745: 7076 Segmentation fault
>> chroot "$TARGET" "$@"
>
> OK, so something is segfaulting. I still cannot reproduce this (tried i386
> this time instead of amd64). Also, the lenny1 update was trivial (as well
> as being over a year old) and cannot possibly be the cause of this.
>
> Suggest you run debootstrap with a 'set -x' in /usr/sbin/debootstrap to see
> exactly which command is failing and possibly an strace as well.
Setting -x did not produce any useful result; stdout shows the usual:
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking libdevmapper1.02.1...
I: Unpacking diff...
W: Failure while unpacking required packages. This will be attempted
up to five times.
...meanwhile, tailing the log shows a neverending series of these:
+ echo ''
+ :
+ echo ''
+ :
+ echo ''
+ :
+ echo ''
+ :
+ echo ''
+ :
+ echo ''
...which I presume to be debconf's way of "pressing Enter" into dpkg?
Not very useful tracing info, anyhow.
I suppose this leaves tracking this with strace as a last resort.
However, I cannot remember if strace is actually capable of tracking
shell scripts?
Martin-Éric
Reply to: