Your message dated Thu, 9 Aug 2007 21:48:54 +0200
with message-id <[EMAIL PROTECTED]>
and subject line initramfs-tools: postinst may not update newest initramfs
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: initramfs-tools
Version: 0.85b
Severity: normal
Looks line postinst script of initramfs-tools package just runs
'update-initramfs -u'
This looks to update initramfs image for one of installed linux-image
packages, while keeping it as-is for all other packages. This could lead
to different sorts of inconsistency.
E.g. on one of systems, I have linux-image-2.6.18-2-xen-k7 and
linux-image-2.6.18-2-k7 packages installed. Normally xen version is
running, but non-xen version is kept for the case if things will go
wrong.
When I upgrade initramfs-tools, it rebuilds initrd.img-2.6.18-2-k7 (that
is image for kernel that normally does not run), but does not rebuild
initrd.img-2.6.18-2-xen-k7 (image for kernel that normally runs).
This does not look like correct behaviour.
So what is stated in the man page ('update-initramfs -u updates
the initramfs of the newest kernel') is not true. 2.6.18-2-xen-k7 *is*
newest, but it's initramfs image is not updated.
I think that '-u' whthout '-k' in it's current implementation does not
make sence at all, because aclually it updates initramfs of semi-random
kernel.
I thinks that tho things should be done
- postinst should be changed either to call 'update-initramfs -u -k all',
or to ask somehow what images should be updated,
- update-initramfs should be modified either to require -k, or to use
better logic to find out what kernel image is the 'latest'.
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda1 ro
-- /proc/filesystems
cramfs
reiserfs
vfat
-- lsmod
Module Size Used by
nls_koi8_r 5696 0
nls_cp866 5696 0
nls_iso8859_1 4544 0
nls_cp437 6208 0
vfat 12416 0
fat 47260 1 vfat
usb_storage 72768 0
xt_tcpudp 3456 2
iptable_nat 7428 1
ip_nat 17260 1 iptable_nat
ip_conntrack 49504 2 iptable_nat,ip_nat
nfnetlink 7128 2 ip_nat,ip_conntrack
ip_tables 13412 1 iptable_nat
x_tables 13636 3 xt_tcpudp,iptable_nat,ip_tables
nfs 203980 1
nfsd 199792 17
exportfs 6080 1 nfsd
lockd 55240 3 nfs,nfsd
nfs_acl 3904 2 nfs,nfsd
sunrpc 139772 13 nfs,nfsd,lockd,nfs_acl
ppdev 8964 0
lp 11300 0
button 6928 0
ac 5508 0
battery 9924 0
ipv6 228064 48
sk98lin 133344 0
snd_intel8x0 30620 0
snd_ac97_codec 83360 1 snd_intel8x0
snd_ac97_bus 2688 1 snd_ac97_codec
snd_pcm_oss 39200 0
snd_pcm 68996 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_mixer_oss 15552 1 snd_pcm_oss
snd_seq_dummy 4164 0
evdev 9408 0
snd_seq_oss 29120 0
snd_seq_midi_event 7488 1 snd_seq_oss
snd_seq 46224 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer 21316 2 snd_pcm,snd_seq
snd_seq_device 8140 3 snd_seq_dummy,snd_seq_oss,snd_seq
i2c_nforce2 7232 0
psmouse 35336 0
snd 47524 9
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
i2c_core 20096 1 i2c_nforce2
serio_raw 6980 0
parport_pc 32612 1
parport 33672 3 ppdev,lp,parport_pc
soundcore 9568 1 snd
irtty_sir 8128 0
sir_dev 15940 1 irtty_sir
pcspkr 3392 0
snd_page_alloc 9928 2 snd_intel8x0,snd_pcm
rtc 12788 0
irda 163580 2 irtty_sir,sir_dev
floppy 53668 0
crc_ccitt 2560 1 irda
reiserfs 214080 4
dm_mirror 19600 0
dm_snapshot 15840 0
dm_mod 50776 9 dm_mirror,dm_snapshot
sd_mod 19456 4
amd74xx 13340 0 [permanent]
generic 5316 0 [permanent]
ide_core 110984 3 usb_storage,amd74xx,generic
ohci_hcd 18564 0
ehci_hcd 28488 0
usbcore 113412 4 usb_storage,ohci_hcd,ehci_hcd
forcedeth 38596 0
sata_nv 11332 3
libata 90644 1 sata_nv
scsi_mod 124872 3 usb_storage,sd_mod,libata
skge 35152 0
thermal 13896 0
processor 29128 1 thermal
fan 5124 0
-- kernel-img.conf
Do_Symlinks = no
do_initrd = Yes
postinst_hook = update-grub
postrm_hook = update-grub
do_bootloader = no
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (620, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-2-k7
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
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.30-1 small statically-linked utilities
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii udev 0.100-2.3 /dev/ and hotplug management daemo
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 0.90
you can update _all_ initramfs by setting so in
/etc/initramfs-tools/update-initramfs.conf
--
maks
--- End Message ---