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

Kapil Hari Paranjape kapil at imsc.res.in
Mon Feb 18 15:33:20 UTC 2008

Hello Jonas,

On Mon, 18 Feb 2008, Jonas Meurer wrote:
> Maybe I don't understand your request, as you talk about /etc/fstab,
> which not used by cryptdisks and initramfs cryptroot script at all.

Let me try to be clearer.

The script:
adds entries to /conf/conf.d/cryptroot in the initrd.

This is based on what root and resume devices are dependent on
an encrypted device.

For example, supose that we have the device
/dev/mapper/vg0-root where vg0 is a volume group based on
the dm-crypt device /dev/mapper/encbase.

If the entry in /etc/fstab has the root device as
	/dev/mapper/vg0-root ...
then the following entry is added to /conf/conf.d/cryptroot in
the initrd

However, if the entry in /etc/fstab is
	/dev/vg0/root ...
then no such entry is created.

Moreover, if the filesystem on /dev/vg0/root has label ROOT
and the entry in /etc/fstab is
then again no such entry is created.

Thus one is forced to add all these options to the kernel command
line which becomes quite long!

I hope this clarifies the bug report.

Thanks and best regards,


-------------- 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/20080218/2809a708/attachment.pgp 

More information about the Pkg-cryptsetup-devel mailing list