[Pkg-cryptsetup-devel] Bug#466175: cryptsetup: initramfs hook script doesn't check for LABEL= mounts

Kapil Hari Paranjape kapil at imsc.res.in
Sun Feb 17 02:29:02 UTC 2008


Package: cryptsetup
Version: 2:1.0.6~pre1-1
Severity: wishlist

Hello,

The hook script /usr/share/initramfs-tools/cryptroot
does not check for "LABEL=" entries in /etc/fstab.
Such a LABEL= entry *could* point to a root filesystem that
is on an dm-crypt'ed device so it should be added to 
/etc/initramfs/conf.d/cryptroot --- but it currently is not.

Since a user can use whatever name they like for a cryptroot
partition adding a label to the block device seems a bit redundant,
which is why the severity is wishlist. 

Regards,

Kapil.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
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.24-3 The Linux Kernel Device Mapper use
ii  libc6                        2.7-6       GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.24-3 The Linux Kernel Device Mapper use
ii  libpopt0                     1.10-3      lib for parsing cmdline parameters
ii  libuuid1                     1.40.5-2    universally unique id library

cryptsetup recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080217/8f851233/attachment.pgp 


More information about the Pkg-cryptsetup-devel mailing list