[Bug 1876506] Re: eoan to focal upgrade hangs when lvm snapshot is present
Ćukasz Zemczak
1876506 at bugs.launchpad.net
Tue Aug 18 12:20:45 UTC 2020
Hello David, or anyone else affected,
Accepted memtest86+ into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/memtest86+/5.01-3.1ubuntu2.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: memtest86+ (Ubuntu Focal)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-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