Bug#463728: initramfs-tools: update-initramfs tries to update nonexistant initramfs
Package: initramfs-tools
Version: 0.91d
Severity: important
Hello,
At running 'update-initramfs -k all -u', update-initramfs tries to
update only nonexistant initramfs images, and ignores the ones that
actually do exist:
# update-initramfs -k all -u
/boot/initrd.img-2.6.22-4-amd64-resivo does not exist. Cannot update.
/boot/initrd.img-2.6.22-3-amd64-resivo does not exist. Cannot update.
# ll /boot/initrd.img-*
-rw-r--r-- 1 root root 3101707 Nov 13 23:11 /boot/initrd.img-2.6.22-6-amd64-resivo
-rw-r--r-- 1 root root 3060899 Jan 18 00:53 /boot/initrd.img-2.6.23-2-amd64-resivo
-rw-r--r-- 1 root root 3125637 Jan 31 01:42 /boot/initrd.img-2.6.24-2-amd64-resivo
# ll /lib/modules/
total 12
drwxr-xr-x 5 root root 4096 Nov 14 16:55 2.6.22-6-amd64-resivo
drwxr-xr-x 5 root root 4096 Jan 18 12:07 2.6.23-2-amd64-resivo
drwxr-sr-x 5 root root 4096 Jan 31 11:13 2.6.24-2-amd64-resivo
# dpkg -l |grep linux-image
ii linux-image-2.6.22-6-amd64-resivo 2.6.22-6 Linux kernel binary image for version 2.6.22-6-amd64-resivo
ii linux-image-2.6.23-2-amd64-resivo 2.6.23-2 Linux kernel binary image for version 2.6.23-2-amd64-resivo
ii linux-image-2.6.24-2-amd64-resivo 2.6.24-1 Linux kernel binary image for version 2.6.24-2-amd64-resivo
greetings,
jonas
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda3 ro vga=791
-- /proc/filesystems
reiserfs
ext3
ext2
cramfs
vfat
iso9660
romfs
fuseblk
-- lsmod
Module Size Used by
nvidia 5653812 18
kqemu 162136 0
kvm 87392 0
ivtvfb 15452 1
ivtv 133728 1 ivtvfb
-- /etc/kernel-img.conf
do_symlinks = no
no_symlinks = yes
reverse_symlink = no
relative_links = yes
do_boot_enable = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
#ramdisk = mkinitrd.yaird mkinitramfs mkinitrd
ramdisk = mkinitramfs mkinitrd.yaird mkinitrd
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
# <target name> <source device> <key file> <options>
priv /dev/vg00/priv /media/flash0/key_priv luks,cipher=aes-cbc-plain,size=128,check
mysql /dev/vg00/mysql /media/flash0/key_mysql luks,cipher=aes-cbc-essiv:sha256,size=256,check,noearly
data1 /dev/sdf1 /media/flash0/key_data1 luks,cipher=aes-cbc-essiv:sha256,size=256
cswap /dev/sda2 /dev/random swap,cipher=aes-cbc-essiv:sha256,size=256,hash=sha256
#img01 /root/img01 none luks,keyscript=/lib/cryptsetup/scripts/decrypt_open_own
#test /dev/vg00/test none luks,keyscript=/lib/cryptsetup/scripts/decrypt_opensc
#test /root/test none luks,cipher=aes-cbc-essiv:sha256,size=256
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-2-amd64-resivo
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-9 GNU cpio -- a program to manage ar
ii findutils 4.2.32-1 utilities for finding files--find,
ii klibc-utils 1.5.7-4 small statically-linked utilities
ii module-init-tools 3.3-pre11-4 tools for managing Linux kernel mo
ii udev 0.114-2 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.1.3-5 Tiny utilities for small and embed
-- no debconf information
Reply to: