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

Bug#638068: busybox binary in initrd.img is incorrectly overwritten by klibc hook



Le 15 janvier 2012 19:08, maximilian attems <max@stro.at> a écrit :
>> Nice detective work.  So the next question is: why does klibc-utils on
>> ia64 provide /usr/lib/klibc/bin/sh instead of sh.shared like other
>> architectures?
>
> #439181  ia64 works only static

Thanks for pointing this out.

>> I'd also be interested to hear how /usr/lib/klibc/bin/sh behaves in
>> general: e.g., could you try
>>
>>       ldd /usr/lib/klibc/bin/sh
>>       /usr/lib/klibc/bin/sh -c 'echo hi'
>>
>> ?
>
> /me too.

Okay, okay, your wish is my command ;-)

emeric@longspeak:~$ ldd /usr/lib/klibc/bin/sh
               not a dynamic executable

Checked with:

emeric@longspeak:~$ file /usr/lib/klibc/bin/sh
/usr/lib/klic/bin/sh: ELF 64-bit LSB executable, IA-64, version 1
(SYSV), statically linked, stripped

emeric@longspeak:~$ /usr/lib/klibc/bin/sh -c 'echo hi'
hi



Reply to: