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

Bug#642031: should debootstrap workaround libc6 kernel uname parsing bug



Joey Hess wrote:
> I'm unsure about trying to work around this in debootstrap, despite
> https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/802985 having
> a LD_PRELOAD hack to do so.

There is also setarch or uname26:
http://mirror.linux.org.au/linux/kernel/people/ak/uname26/uname26.c

See bug #700884.  With an experimental (two-number version) kernel
debootstrap fails:
# debootstrap lenny lenny http://archive.debian.org/debian

But with uname26, it succeeds:
# uname26 debootstrap lenny lenny http://archive.debian.org/debian

Or setarch:
# setarch x86_64 --uname-2.6 debootstrap lenny lenny
http://archive.debian.org/debian

It would be nice if debootsrap automatically used one of those for
older known broken releases.

Mike


Reply to: