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

Tomas 332950 at bugs.launchpad.net
Tue Nov 13 11:20:31 UTC 2018


ubuntu 18.04, the same:
update-initramfs -c -k all
update-initramfs: Generating /boot/initrd.img-4.15.0-38-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-9013e4bc-3ea3-4379-957c-88e2bbb701c1 - 
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
cryptsetup: WARNING: invalid line in /etc/crypttab for luks-9013e4bc-3ea3-4379-957c-88e2bbb701c1 -

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/332950

Title:
  Misleading "cryptsetup: WARNING: invalid line in /etc/crypttab - "

Status in cryptsetup package in Ubuntu:
  Fix Released
Status in cryptsetup source package in Lucid:
  Won't Fix
Status in cryptsetup source package in Maverick:
  Won't Fix
Status in cryptsetup package in Debian:
  Fix Released

Bug description:
  Binary package hint: cryptsetup

  When there's no line for the cryptsetup root device, a misleading warning is issued 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 used 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/332950/+subscriptions



More information about the foundations-bugs mailing list