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

Bug#636495: initramfs-tools: installs optimized libraries into the initramfs



severity 636495 normal
thanks

On 2011-08-03 14:16 +0200, Sven Joachim wrote:

> Package: initramfs-tools
> Version: 0.99
> Severity: important
>
> My initramfs contains a libc6 that is optimized for i686:
>
> ,----
> | $ lsinitramfs /boot/initrd.img-$(uname -r) | grep libc.so.6                                   
> | lib/i386-linux-gnu/i686/cmov/libc.so.6
> `----
>
> No big deal for me, but wheezy/sid systems with a pre-686 processor will
> likely have a totally broken initramfs if libc6-i686 gets installed
> accidentally.

Thinking about it again, this is probably not going to happen since ldd
will print the path of the unoptimized library if the optimized one does
not work on the current processor.  So there is only a problem if the
initramfs is generated on a more capable machine and then transferred.

Cheers,
       Sven




Reply to: