[Bug 1804314] Re: Wrong WARNING Option 'hash' missing in crypttab
Steve Langasek
steve.langasek at canonical.com
Fri May 24 16:56:47 UTC 2019
On Fri, May 24, 2019 at 08:53:02AM -0000, Xavier Gnata wrote:
> Because I followed an old and probably outdated documentation.
I'm afraid that documentation was probably not old, but simply broken. I've
been using LUKS full-disk encryption on Ubuntu since 2007 and that has never
been the way to configure cryptsetup.
> Should I remove the lines in /etc/default/grub and in
> /etc/initramfs-tools/conf.d/cryptroot completely?
I believe that is the correct change to make. You should of course be
mindful that this could make your newly-generated initramfs unbootable for
unforeseen reasons, and be prepared to boot to your backup kernel with an
initramfs that has not been updated for the change to
/etc/initramfs-tools/conf.d/cryptroot.
> My current /etc/crypttab read: CryptDisk
> UUID=c9deed35-610e-4328-b8e7-079e95d43f76 none luks,retry=1,lvm=lvm-vg Is
> it correct? It seems that retry=1 is also an outdated option...
'lvm=' is not a documented option in crypttab(5), I expect this to also be
autodetected without needing to specify any option. But as a first step I
would suggest changing only the first two files and leaving your crypttab
as-is, even though it can probably be simplified.
--
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