Bug#550320: /bin/sh: error while loading shared libraries: libm.so.6
Package: initramfs-tools
Version: 0.92o
Severity: critical
Justification: breaks the whole system
This is like #334467, but since it is very old and closed. I'd open a new one here. The reproduce steps are similar too.
[@tmp]$mkinitramfs -k -o initrd.img-2.6.32-rc3 2.6.32-rc3
Working files in /tmp/mkinitramfs_xwHwBw and overlay in /tmp/mkinitramfs-OL_qcYNUU
[@tmp]$sudo cp -rL mkinitramfs_xwHwBw/* initramfs/
[@tmp]$sudo chroot initramfs/ /bin/sh
/bin/sh: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
This is happening since my system updating in Sept. Before that, everything worked fine.
Please let me know if I should provide any more information.
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda1 ro vdso32=0
-- /proc/filesystems
ext3
fuseblk
vfat
ext4
-- lsmod
Module Size Used by
ext4 275400 1
nls_utf8 2272 0
nls_cp437 7168 0
vfat 10672 0
fat 49352 1 vfat
usb_storage 62264 0
ipt_MASQUERADE 3136 1
iptable_nat 5696 1
nf_nat 20052 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 15048 3 iptable_nat,nf_nat
nf_conntrack 71344 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 2544 1 nf_conntrack_ipv4
ip_tables 17696 1 iptable_nat
x_tables 23336 3 ipt_MASQUERADE,iptable_nat,ip_tables
binfmt_misc 9452 1
rfcomm 36192 2
l2cap 21392 9 rfcomm
bluetooth 55716 4 rfcomm,l2cap
rfkill 20712 1 bluetooth
i915 208776 1
video 22572 1 i915
output 3744 1 video
kvm_intel 46696 0
kvm 158952 1 kvm_intel
ppdev 7496 0
parport_pc 27512 0
lp 11076 0
parport 38656 3 ppdev,parport_pc,lp
ipv6 282768 67
fuse 60224 2
jbd2 76384 1 ext4
crc16 2528 1 ext4
dm_snapshot 22972 0
dm_mirror 14936 0
dm_region_hash 12912 1 dm_mirror
dm_log 10276 2 dm_mirror,dm_region_hash
dm_mod 68600 3 dm_snapshot,dm_mirror,dm_log
loop 16204 0
snd_hda_codec_realtek 260116 1
snd_hda_codec_intelhdmi 13472 1
snd_hda_intel 27880 1
snd_hda_codec 67616 3 snd_hda_codec_realtek,snd_hda_codec_intelhdmi,snd_hda_intel
snd_pcm_oss 37568 0
snd_mixer_oss 15376 1 snd_pcm_oss
snd_pcm 79736 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3428 0
snd_seq_oss 27760 0
snd_seq_midi 7280 0
snd_rawmidi 23376 1 snd_seq_midi
snd_seq_midi_event 7968 2 snd_seq_oss,snd_seq_midi
snd_seq 51424 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 22144 2 snd_pcm,snd_seq
snd_seq_device 7780 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
pcspkr 3200 0
i2c_i801 10672 0
rng_core 5128 0
snd 61704 14 snd_hda_codec_realtek,snd_hda_codec_intelhdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8368 1 snd
snd_page_alloc 10128 2 snd_hda_intel,snd_pcm
button 6864 0
processor 40908 2
evdev 10720 3
usbhid 37616 0
hid 41536 1 usbhid
sr_mod 16164 0
cdrom 34680 1 sr_mod
ata_piix 26852 5
ata_generic 6180 0
ide_pci_generic 5204 0
ide_core 106384 1 ide_pci_generic
r8169 32548 0
mii 5904 1 r8169
ehci_hcd 34256 0
uhci_hcd 22368 0
floppy 56248 0
thermal 16352 0
fan 5480 0
thermal_sys 16816 4 video,processor,thermal,fan
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: 5.0.3
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-rc7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7+lenny3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: