** Also affects: memtest86+ (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
+ [Impact]
+ Upgrading on LVM systems with snapshots hangs
+
+ [Test case]
+
+ - Install VM with eoan
+ - Upgrade memtest86+ to focal
+
+ 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
+ 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.
** Description changed:
[Impact]
Upgrading on LVM systems with snapshots hangs
[Test case]
- - Install VM with eoan
- - Upgrade memtest86+ to focal
+ - 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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876506
Title:
eoan to focal upgrade hangs when lvm snapshot is present
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1876506/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs