[Bug 1876506] Re: eoan to focal upgrade hangs when lvm snapshot is present

Ɓukasz Zemczak 1876506 at bugs.launchpad.net
Thu Aug 27 13:46:42 UTC 2020


Meanwhile, I have re-published the old package into focal-proposed. As
this is the *exact* same binary package (as I have republished it from
the deleted state), Julian's earlier verification from comment #14 still
stands. No re-verification is needed.

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  eoan to focal upgrade hangs when lvm snapshot is present

Status in memtest86+ package in Ubuntu:
  Fix Released
Status in os-prober package in Ubuntu:
  Confirmed
Status in memtest86+ source package in Focal:
  Fix Committed
Status in os-prober source package in Focal:
  Confirmed

Bug description:
  [Impact]
  Upgrading on LVM systems with snapshots hangs

  [Test case]

  - Install VM with eoan, LVM
  - Create snapshot of root
  - Upgrade memtest86+ to focal (download deb and apt install it is enough)

  This hangs, when it shouldn't.

  [Regression potential]
  The change to memtest86+ closes file descriptor 3 when invoking update-grub like other callers do, which fixes the issue. File descriptor 3 is the debconf socket. If update-grub would need to communicate with debconf, it couldn't anymore. But seeing that we do this everywhere else, this should be fine.

  [Original bug report]

  When upgrading from 19.10 (w/ LVM + encypted disks) to 20.04, the
  installer hangs when trying to probe an LVM snapshot volume created
  before the upgrade.

  Steps to reproduce:

  lvcreate -s -L 20G -n preupgrade /dev/vgubuntu/root
  do-release-upgrade -d

  The installer will hang after the following message:

  /usr/sbin/grub-probe: error: unknown filesystem.
  Found Ubuntu 19.10 (19.10) on /dev/mapper/vgubuntu-preupgrade
  done

  Resolution:

  Killing the grub-mount process which is probing the LVM snapshot seems
  to unhang the installer and allow the upgrade to complete without
  issue.

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



More information about the foundations-bugs mailing list