crypttab precheck & tmp options not working on 16.04
Tom H
tomh0665 at gmail.com
Mon May 9 13:47:44 UTC 2016
On Mon, May 9, 2016 at 3:08 PM, Adam Funk <a24061 at ducksburg.com> wrote:
>
> I did a successful clean installation of 16.04 & left a few partitions
> free for encrypted swap and /tmp. Swap is working fine, but this line
> in /etc/crypttab
>
> etmp /dev/disk/by-id/blah-blah-part6 /dev/urandom precheck=/bin/true,tmp=ext4
>
> is throwing these errors at boot
>
> systemd-cryptsetup ... Encountered unknown /etc/crypttab option 'precheck=/bin/true', ignoring.
> systemd-cryptsetup ... Encountered unknown /etc/crypttab option 'tmp=ext4', ignoring.
>
> so /dev/mapper/etmp doesn't get set up & the boot fails. Both of
> these options are listed in 'man crypttab' --- what's wrong?
>From https://github.com/systemd/systemd/blob/master/src/cryptsetup/cryptsetup.c#L60
:
/* Options Debian's crypttab knows we don't:
precheck=
check=
checkargs=
noearly=
loud=
keyscript=
*/
'man crypttab' is probably the man page provided by Ubuntu's cryptsetup package.
The systemd crypttab man page is:
https://www.freedesktop.org/software/systemd/man/crypttab.html
More information about the ubuntu-users
mailing list