[Bug 1695666] Re: users shoot themselves in the foot by removing /boot/efi from /etc/fstab; u-r-u should warn and refuse to let them upgrade
Julian Andres Klode
1695666 at bugs.launchpad.net
Tue Jan 16 16:13:09 UTC 2018
Checking for vfat seems fragile. You could, like systemd does upstream,
also mount it as an autofs with a short timeout.
But yeah, the texts are better than mine. Though I do fear that people do not know what an EFI system partition is.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1695666
Title:
users shoot themselves in the foot by removing /boot/efi from
/etc/fstab; u-r-u should warn and refuse to let them upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Committed
Status in ubuntu-release-upgrader source package in Artful:
Triaged
Bug description:
We currently have 6 open bug reports at
<https://bugs.launchpad.net/ubuntu/+source/shim-signed>, and several
closed ones, from users who have by one means or another gotten
/boot/efi unmounted on their systems and then tried to apply updates.
On a UEFI system, /boot/efi must be a separate mount point (it's the
EFI System Partition); and it must be mounted at the time of upgrading
the shim-signed/grub-efi-amd64 packages, because it's meaningless to
"upgrade" these packages without installing the new bootloader to the
ESP - if you don't want to use the Ubuntu UEFI bootloader, uninstall
the package.
However, a surprising number of users (i.e., more than 0) are leaving
/boot/efi unmounted on their systems, and as a result get upgrade
failures. This is a bad thing to have happen in the middle of a dist-
upgrade between releases.
I think u-r-u should detect the case where either of the shim-signed
and grub-efi-amd64 packages are installed, and /boot/efi is not in a
sane state (is mountpoint + is mounted rw), and refuse to let the user
start the upgrade until this is resolved.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1695666/+subscriptions
More information about the foundations-bugs
mailing list