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

Robbie Williamson robbie.williamson at canonical.com
Tue Sep 7 22:37:56 BST 2010


Surbhi, can you take a look at this one?  Seems like something we could
easily slide into Maverick.

** Changed in: cryptsetup (Ubuntu Maverick)
    Milestone: None => ubuntu-10.10

** Changed in: cryptsetup (Ubuntu Maverick)
     Assignee: (unassigned) => Surbhi Palande (csurbhi)

-- 
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
Status in “cryptsetup” source package in Lucid: New
Status in “cryptsetup” source package in Maverick: 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