[Bug 1580308] Re: update-initramfs cryptsetup must correctly take into account PARTLABEL inside /etc/fstab

Tipi Koivisto 1580308 at bugs.launchpad.net
Sat Nov 11 13:15:17 UTC 2017


I got it [1] now also for the first time when doing apt upgrade and it
is pretty scary when considering that /dev/sda3 is the root folder [2].

[1]
...
Setting up update-manager-core (1:17.04.8) ...
Setting up update-manager (1:17.04.8) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for initramfs-tools (0.125ubuntu9) ...
update-initramfs: Generating /boot/initrd.img-4.11.8-041108-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/sda3
cryptsetup: WARNING: could not determine root device from /etc/fstab

[2]
df 
Filesystem          1K-blocks      Used Available Use% Mounted on
udev                 16353300         0  16353300   0% /dev
tmpfs                 3276344    108148   3168196   4% /run
/dev/sda3            51343840  16054812  32651204  33% /
tmpfs                16381712    700604  15681108   5% /dev/shm
tmpfs                    5120         4      5116   1% /run/lock
tmpfs                16381712         0  16381712   0% /sys/fs/cgroup
/dev/loop0              85120     85120         0 100% /snap/core/3017
/dev/loop2              83456     83456         0 100% /snap/core/2898
/dev/sda1              523248      1176    522072   1% /boot/efi
/dev/sda4           419291016 332865984  86408648  80% /home
tmpfs                 3276340        64   3276276   1% /run/user/1000
/home/me/.Private 419291016 332865984  86408648  80% /home/me
/dev/loop3              85120     85120         0 100% /snap/core/3247

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1580308

Title:
  update-initramfs cryptsetup must correctly take into account PARTLABEL
  inside /etc/fstab

Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  Systematically,

  -  With a /etc/fstab using UUID or LABEL, update-initramfs works
  correctly

  -  With a /etc/fstab using PARTLABEL, update-initramfs displays following error messages :
  cryptsetup: WARNING: failed to detect canonical device of PARTLABEL=Ubuntu-Gnome
  cryptsetup: WARNING: could not determine root device from /etc/fstab
  cryptsetup: WARNING: failed to detect canonical device of PARTLABEL=USR-Ubuntu

  The cryptsetup part of update-initramfs must correctly take into
  account PARTLABEL inside /etc/fstab

  Thank you in advance

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: initramfs-tools 0.122ubuntu8
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: X-Cinnamon
  Date: Tue May 10 21:14:24 2016
  InstallationDate: Installed on 2014-11-03 (553 days ago)
  InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: Upgraded to xenial on 2016-05-09 (1 days ago)
  mtime.conffile..etc.initramfs-tools.initramfs.conf: 2016-02-21T22:22:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1580308/+subscriptions



More information about the foundations-bugs mailing list