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

Steve Langasek steve.langasek at canonical.com
Thu May 23 16:34:15 UTC 2019


The only message like this which appears in the cryptsetup source for
any of cosmic, disco, and eoan is this call in debian/functions:

                cryptsetup_message "WARNING: Option '$o' missing in crypttab for plain dm-crypt" \
                    "mapping $CRYPTTAB_NAME. Please read /usr/share/doc/cryptsetup/README.initramfs and" \
                    "add the correct '$o' option to your crypttab(5)."

This message is only displayed for non-LUKS entries, but your crypttab
shows that you are using LUKS.

And I have been using LUKS-based encrypted root across all these Ubuntu
releases and have never seen this warning message at boot.

Can you please confirm the text of the message that you are shown, and
the version of the cryptsetup package you have installed?

Also since this is only a warning message which per your description
does not block boot even when it does show up, I'm marking this bug as
'low'.

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

** Changed in: cryptsetup (Ubuntu)
       Status: Confirmed => Incomplete

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