[pkg-cryptsetup-devel] Bug#648192: Misleading "cryptsetup: WARNING: invalid line in /etc/crypttab - "

Daniel Hahler debian-bugs at thequod.de
Wed Nov 9 14:02:58 UTC 2011


Package: cryptsetup
Version: 2:1.3.0-3
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

When there's no line for the cryptsetup root device, a misleading
warning is issues during update-initramfs:

  cryptsetup: WARNING: invalid line in /etc/crypttab -

I'm attaching a patch that handles this better, by outputting

  cryptsetup: WARNING: Missing line in /etc/crypttab for $target

in this case.

I've ran into this when manually doing the "mdadm-cryptsetup-lvm2-initramfs" dance, and uses another name during "cryptsetup luksOpen".


The bug has been reported against Ubuntu in Launchpad at:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/332950
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpONFdzt
Type: text/x-diff
Size: 831 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20111109/7149b258/attachment.diff>


More information about the pkg-cryptsetup-devel mailing list