[Bug 1804314] Re: Wrong WARNING Option 'hash' missing in crypttab

Xavier Gnata xavier.gnata at gmail.com
Fri May 24 05:33:46 UTC 2019


/etc/crypttab
CryptDisk UUID=c9deed35-610e-4328-b8e7-079e95d43f76 none luks,retry=1,lvm=lvm-vg

/etc/default/grub
GRUB_CMDLINE_LINUX="cryptopts=target=CryptDisk,source=/dev/disk/by-uuid/c9deed35-610e-4328-b8e7-079e95d43f76,lvm=lvm-vg"

/etc/initramfs-tools/conf.d/cryptroot
CRYPTROOT=target=CryptDisk,source=/dev/disk/by-uuid/c9deed35-610e-4328-b8e7-079e95d43f76

and I get this warning :
cryptsetup: WARNING: Option 'hash' missing in crypttab for plain dm-crypt mapping CryptDisk. Please read /usr/share/doc/cryptsetup/README.initramfs and add the correct  'hash' option to your crypttab(5)

-- 
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/1804314

Title:
  Wrong WARNING Option 'hash' missing in crypttab

Status in cryptsetup package in Ubuntu:
  Incomplete

Bug description:
  I have installed kubuntu 18.10 on an encrypted partition.

  I have written a /etc/crypttab
  CryptDisk UUID=c9deed35-610e-4328-b8e7-079e95d43f76 none luks,hash=sha256,tries=3

  At each boot, I get this warning "cryptsetup: WARNING: Option 'hash' missing in crypttab".
  I tried with and without the hash=sha256 but the warning does not change.

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



More information about the foundations-bugs mailing list