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

Launchpad Bug Tracker 332950 at bugs.launchpad.net
Thu Oct 14 22:14:24 BST 2010


** Branch linked: lp:ubuntu/maverick-proposed/cryptsetup

-- 
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: Fix Committed

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