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

Bug#395223: leaves .bak files around after kernel purge, and chokes on them



Package: initramfs-tools
Version: 0.84
Severity: normal

I had just purged linux-image-2.6.17-2-686 from the system. First,
the initrd.bak file was left over, and second: initramfs-tools
apparently honours that file when I say -k all:

mdadmp:~# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-2.6.18-1-686
I: mdadm: using configuration file: /etc/mdadm/mdadm.conf
I: mdadm: will start all available MD arrays from the initial ramdisk.
I: mdadm: use `dpkg-reconfigure --priority=low mdadm` to change this.
sha1sum: /boot/initrd.img-2.6.17-2-686: No such file or directory
/boot/initrd.img-2.6.17-2-686 has been altered.  Cannot update.
mdadmp:~# rm /boot/
System.map-2.6.18-1-686      initrd.img-2.6.17-2-686.bak
boot/                        initrd.img-2.6.18-1-686
config-2.6.18-1-686          initrd.img-2.6.18-1-686.bak
debian.bmp                   lost+found/
grub/                        vmlinuz-2.6.18-1-686
mdadmp:~# rm /boot/initrd.img-2.6.17-2-686.bak
mdadmp:~# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-2.6.18-1-686
rm /boot/initrd.img-2.6.18-1-686.bakI: mdadm: using configuration file: /etc/mdadm/mdadm.conf
I: mdadm: will start all available MD arrays from the initial ramdisk.
I: mdadm: use `dpkg-reconfigure --priority=low mdadm` to change this.

-- Package-specific info:
-- /proc/cmdline
root=/dev/md1 ro nmi_watchdog=2 

-- /proc/filesystems
	cramfs
	ext3
	xfs

-- lsmod
Module                  Size  Used by
xfs                   548936  0 
raid5                  38272  0 
xor                    10512  1 raid5
rfcomm                 50720  3 
l2cap                  34048  5 rfcomm
button                 12448  0 
ac                     10120  0 
battery                15496  0 
ipv6                  302688  43 
ipt_MASQUERADE          8448  1 
iptable_nat            12804  1 
ipt_REJECT             10112  1 
ipt_addrtype            6400  1 
ipt_LOG                11392  1 
xt_limit                7424  1 
xt_tcpudp               7936  22 
xt_conntrack            7168  6 
ip_nat_ftp              8192  0 
ip_nat                 25644  3 ipt_MASQUERADE,iptable_nat,ip_nat_ftp
ip_conntrack_ftp       13136  1 ip_nat_ftp
ip_conntrack           67364  6 ipt_MASQUERADE,iptable_nat,xt_conntrack,ip_nat_ftp,ip_nat,ip_conntrack_ftp
nfnetlink              12232  2 ip_nat,ip_conntrack
iptable_filter          7680  1 
ip_tables              25960  2 iptable_nat,iptable_filter
x_tables               23176  9 ipt_MASQUERADE,iptable_nat,ipt_REJECT,ipt_addrtype,ipt_LOG,xt_limit,xt_tcpudp,xt_conntrack,ip_tables
raid10                 28160  5 
netconsole              8096  0 
snd_seq_dummy           8580  0 
snd_seq_oss            41472  0 
snd_seq_midi           13888  0 
snd_seq_midi_event     13184  2 snd_seq_oss,snd_seq_midi
snd_seq                66432  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_via82xx            36136  0 
snd_bt87x              21480  0 
snd_via82xx_modem      21516  0 
snd_ac97_codec        115928  2 snd_via82xx,snd_via82xx_modem
snd_pcm_oss            49568  0 
snd_mixer_oss          23040  1 snd_pcm_oss
snd_pcm               104072  5 snd_via82xx,snd_bt87x,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss
snd_mpu401_uart        13696  1 snd_via82xx
snd_timer              30984  2 snd_seq,snd_pcm
snd_rawmidi            33312  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device         13968  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd                    69992  13 snd_seq_oss,snd_seq,snd_via82xx,snd_bt87x,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_timer,snd_rawmidi,snd_seq_device
pcspkr                  7936  0 
evdev                  15872  0 
psmouse                47888  0 
soundcore              16032  1 snd
eth1394                25736  0 
serio_raw              12292  0 
floppy                 72424  0 
ext3                  147600  7 
jbd                    68648  1 ext3
mbcache                14728  1 ext3
dm_mirror              26496  0 
dm_snapshot            22200  0 
dm_mod                 68176  2 dm_mirror,dm_snapshot
raid1                  27904  2 
md_mod                 87964  10 raid5,raid10,raid1
ide_generic             5632  0 [permanent]
ide_cd                 47136  0 
cdrom                  41768  1 ide_cd
bt878                  17128  0 
sk98lin               155744  0 
sd_mod                 26240  17 
hci_usb                21908  2 
bluetooth              62340  7 rfcomm,l2cap,hci_usb
usbhid                 46880  0 
usb_storage            91328  0 
via82cxxx              13828  0 [permanent]
shpchp                 46636  0 
pci_hotplug            19716  1 shpchp
ohci1394               39624  0 
ieee1394              371064  2 eth1394,ohci1394
sata_promise           18180  7 
bttv                  207476  1 bt878
video_buf              32388  1 bttv
firmware_class         16256  1 bttv
ir_common              34052  1 bttv
compat_ioctl32         13056  1 bttv
i2c_algo_bit           13832  1 bttv
v4l2_common            21504  2 bttv,compat_ioctl32
btcx_risc               9608  1 bttv
tveeprom               21392  1 bttv
videodev               16256  1 bttv
skge                   45456  0 
sata_via               14084  8 
aic7xxx               176600  0 
scsi_transport_spi     33664  1 aic7xxx
libata                 80792  2 sata_promise,sata_via
scsi_mod              162224  5 sd_mod,usb_storage,aic7xxx,scsi_transport_spi,libata
generic                 9860  0 [permanent]
ide_core              157056  5 ide_generic,ide_cd,usb_storage,via82cxxx,generic
uhci_hcd               29328  0 
ehci_hcd               38280  0 
i2c_viapro             14104  0 
i2c_core               29312  4 bttv,i2c_algo_bit,tveeprom,i2c_viapro
gameport               22160  1 snd_via82xx
snd_ac97_bus            7168  1 snd_ac97_codec
snd_page_alloc         15120  4 snd_via82xx,snd_bt87x,snd_via82xx_modem,snd_pcm
thermal                20624  0 
processor              36584  1 thermal
fan                     9736  0 

-- kernel-img.conf
do_symlinks = no
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
postinst_hook = update-grub
postrm_hook   = update-grub


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-3  Tiny utilities for small and embed
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.29-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.100-2.1  /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: