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

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



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.

This happens because the code in copy_exec() that finds the path to the
unoptimized library assumes that these libraries reside directly in
{/usr,}/lib and does not handle the multiarch path case.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar
ii  findutils                     4.4.2-1+b1 utilities for finding files--find,
ii  klibc-utils                   1.5.24-1   small utilities built with klibc f
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo
ii  udev                          172-1      /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.18.5-1 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii  bash-completion               1:1.3-1    programmable completion for the ba

-- no debconf information



Reply to: