Warning message about cryptsetup during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have noticed that since upgrade to 20.04.1 (from 18.04), a warning message appears during boot: "cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt mapping cryptswap1. Please read /usr/share/
AFAICT, there is no problem however. I use ecryptfs to encrypt my home directory but I don't think it's related (since the message is related to swap). This message used to appear during updates under 18.04 but I never paid attention to it. I probably use the same setup since 16.04.
Others have reported the problem (https:/
- The answers indicate to edit /etc/crypttab and add a value for size but I don't know what value to use.
- It seems that before 20.04, just editing /etc/crypttab was enough but some users say that they need to manually regenerate the initramfs image after each update which is boring.
I have asked the question at https:/
I have found anything worth in dmesg though.
As I said everything seems fine (boot proceeds normally, I can use the computer) but I expect that there is a way to permanently make this warning disappear.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-53-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 11 23:02:47 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-01-06 (1405 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: Hewlett-Packard HP EliteBook 2570p
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.4
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-10-04 (38 days ago)
dmi.bios.date: 02/01/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68ISB Ver. F.40
dmi.board.name: 17DF
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 61.21
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=ELI
dmi.product.name: HP EliteBook 2570p
dmi.product.sku: C9S65EC#ABF
dmi.product.
dmi.sys.vendor: Hewlett-Packard
This change was made by a bot.