[Bug 332950] Re: Misleading "cryptsetup: WARNING: invalid line in /etc/crypttab - "

Daniel Hahler launchpad at thequod.de
Tue Apr 27 00:29:55 BST 2010


I would be happy to refresh this patch, if this would increase its
acceptance.

** Changed in: cryptsetup (Ubuntu)
   Importance: Low => Medium

-- 
Misleading "cryptsetup: WARNING: invalid line in /etc/crypttab - "
https://bugs.launchpad.net/bugs/332950
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “cryptsetup” package in Ubuntu: Triaged

Bug description:
Binary package hint: cryptsetup

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".

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: cryptsetup 2:1.0.6-7ubuntu5 [modified: usr/share/initramfs-tools/hooks/cryptroot]
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: cryptsetup
Uname: Linux 2.6.28-8-generic i686





More information about the Ubuntu-sponsors mailing list