[pkg-cryptsetup-devel] Bug#589834: cryptsetup: postinst should issue upgrade-initramfs for all kernels
Jan Muszynski
debianbugs at jancm.org
Wed Jul 21 13:51:12 UTC 2010
Package: cryptsetup
Version: 2:1.1.3-1
Severity: normal
Tags: patch
Pretty much as the subject states. The postinst script issues "update-initramfs -u". This updates the initramfs for only the current kernel. I would think that you want to update all the kernel initramfs's. The patch is simple enough. Change the command to "update-initramfs -ukall". So simple it's not even worth generating a diff file :)
The old version (at least usually) works well enough which is why, I suspect, this hasn't been caught until now. (Seems the script has been that way for quite a while). That doesn't make it correct. On the other hand maybe I'm missing something, in which case please explain and then kill the bug.
TIA
-jcm
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.34.1-00.i386vanilla root=/dev/mapper/VG1-root ro nomodeset vga=0x346 printk.time=1 quiet
-- /etc/crypttab
sda2_crypt UUID=01087e5f-5d8a-45e0-a096-4cfbceab77c4 none luks
-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs strictatime,mode=1777 0 0
tmpfs /var/tmp tmpfs strictatime,mode=1777 0 0
LABEL=root / ext4 noatime,user_xattr,journal_checksum,errors=remount-ro 0 1
LABEL=postgresdb /var/lib/postgresql ext4 noatime,journal_checksum 0 2
LABEL=boot /boot ext3 noatime,user_xattr 0 2
LABEL=home /home ext4 noatime,user_xattr 0 2
LABEL=swap none swap sw 0 0
# /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
//wingfoot/Mail$ /mnt/wingfoot/mailfolders cifs users,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0660,dir_mode=0771 0 0
//wingfoot/Queue$ /mnt/wingfoot/merc-queue cifs users,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0660,dir_mode=0771 0 0
//wingfoot/Pegasus$ /mnt/wingfoot/pegmail cifs users,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0644,dir_mode=0751 0 0
//wingfoot/Mercury$ /mnt/wingfoot/mercury cifs users,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0640,dir_mode=0750 0 0
//wingfoot/quarantine /mnt/wingfoot/quarantine cifs users,noauto,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0664,dir_mode=0775 0 0
//athena/e$ /mnt/athena/data cifs users,noauto,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0664,dir_mode=0775 0 0
//athena/h$ /mnt/athena/storage cifs users,noauto,credentials=/etc/.cifs-creds,gid=50,uid=1000,file_mode=0664,dir_mode=0775 0 0
-- lsmod
Module Size Used by
lib80211_crypt_ccmp 4459 3
vboxnetadp 6082 0
vboxnetflt 15333 0
vboxdrv 154276 2 vboxnetadp,vboxnetflt
ipw2200 133618 0
libipw 29057 1 ipw2200
nvidia 9832811 40
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.34.1-00.i386vanilla (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.48-2 The Linux Kernel Device Mapper use
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libuuid1 2.17.2-3.1 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii busybox 1:1.15.3-1 Tiny utilities for small and embed
ii dosfstools 3.0.9-1 utilities for making and checking
ii initramfs-tools [linux-initra 0.97.2 tools for generating an initramfs
ii udev 158-1 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list