[Bug 2060947] Re: Warnings produced in apt upgrade processing triggers for initramfs-tools

joe williams 2060947 at bugs.launchpad.net
Sat May 25 04:15:37 UTC 2024


I am experiencing this as well on a fresh install of 24.04 to a blank
NVMe using the ZFS with encryption option. I see similar error messages
under the password dialog when unlocking the disk. As far as I can tell
things seem to work fine.


update-initramfs: Generating /boot/initrd.img-6.8.0-31-generic
cryptsetup: WARNING: dm_crypt-0: couldn't determine device type, assuming
    default (plain).
cryptsetup: WARNING: Option 'cipher' missing in crypttab for plain dm-crypt
    mapping dm_crypt-0. Please read
    /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and add the correct
    'cipher' option to your crypttab(5).
cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt
    mapping dm_crypt-0. Please read
    /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and add the correct
    'size' option to your crypttab(5).
cryptsetup: WARNING: Resume target dm_crypt-0 uses a key file


Ubuntu 24.04 LTS \n \l

Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20
00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

NAME             MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
loop0              7:0    0     4K  1 loop  /snap/bare/5
loop1              7:1    0  74.2M  1 loop  /snap/core22/1380
loop2              7:2    0 269.6M  1 loop  /snap/firefox/4173
loop3              7:3    0  10.7M  1 loop  /snap/firmware-updater/127
loop4              7:4    0 505.1M  1 loop  /snap/gnome-42-2204/176
loop5              7:5    0  91.7M  1 loop  /snap/gtk-common-themes/1535
loop6              7:6    0  10.3M  1 loop  /snap/snap-store/1124
loop7              7:7    0  38.7M  1 loop  /snap/snapd/21465
loop8              7:8    0   476K  1 loop  /snap/snapd-desktop-integration/157
zd0              230:0    0    20M  0 disk
└─keystore-rpool 252:0    0     4M  0 crypt /run/keystore/rpool
nvme0n1          259:0    0 931.5G  0 disk
├─nvme0n1p1      259:1    0     1G  0 part  /boot/efi
├─nvme0n1p2      259:2    0     2G  0 part
├─nvme0n1p3      259:3    0     8G  0 part
│ └─dm_crypt-0   252:1    0     8G  0 crypt [SWAP]
└─nvme0n1p4      259:4    0 920.5G  0 part

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

Title:
  Warnings produced in apt upgrade processing triggers for initramfs-
  tools

Status in cryptsetup package in Ubuntu:
  Confirmed

Bug description:
  Using Noble, installed from Daily build on 10/4/2024, I updated the
  system on 11/4/2024 using `sudo apt update; sudo apt -y upgrade`

  The following warning was printed in the `apt upgrade` output:

  Processing triggers for initramfs-tools (0.142ubuntu24) ...
  update-initramfs: Generating /boot/initrd.img-6.8.0-22-generic
  cryptsetup: WARNING: dm_crypt-0: couldn't determine device type, assuming 
      default (plain).
  cryptsetup: WARNING: Option 'cipher' missing in crypttab for plain dm-crypt 
      mapping dm_crypt-0. Please read 
      /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and add the correct 
      'cipher' option to your crypttab(5).
  cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt 
      mapping dm_crypt-0. Please read 
      /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz and add the correct 
      'size' option to your crypttab(5).
  cryptsetup: WARNING: Resume target dm_crypt-0 uses a key file


  The VM was provisioned with ZFS and encryption. This is the lsblk
  output:

  NAME             MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
  loop0              7:0    0     4K  1 loop  /snap/bare/5
  loop1              7:1    0 268.3M  1 loop  /snap/firefox/4090
  loop2              7:2    0  74.2M  1 loop  /snap/core22/1122
  loop3              7:3    0 505.1M  1 loop  /snap/gnome-42-2204/176
  loop4              7:4    0  10.7M  1 loop  /snap/firmware-updater/121
  loop5              7:5    0  39.1M  1 loop  /snap/snapd/21184
  loop6              7:6    0  91.7M  1 loop  /snap/gtk-common-themes/1535
  loop7              7:7    0  10.3M  1 loop  /snap/snap-store/1124
  loop8              7:8    0   476K  1 loop  /snap/snapd-desktop-integration/157
  loop9              7:9    0  10.7M  1 loop  /snap/firmware-updater/127
  sr0               11:0    1   4.3G  0 rom   /media/henry/Ubuntu 24.04 LTS amd64
  zd0              230:0    0    20M  0 disk  
  └─keystore-rpool 252:0    0     4M  0 crypt /run/keystore/rpool
  vda              253:0    0    25G  0 disk  
  ├─vda1           253:1    0     1M  0 part  
  ├─vda2           253:2    0     2G  0 part  
  ├─vda3           253:3    0   3.8G  0 part  
  │ └─dm_crypt-0   252:1    0   3.8G  0 crypt [SWAP]
  └─vda4           253:4    0  19.2G  0 part

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




More information about the foundations-bugs mailing list