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

Henry Coggill 2060947 at bugs.launchpad.net
Thu Apr 11 10:46:25 UTC 2024


Public bug reported:

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

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

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

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