[Bug 2083176] Re: grub-efi/install_devices becoming stale due to by-id/nvme-eui.* symlinks disappearing
Trent Lloyd
2083176 at bugs.launchpad.net
Thu Oct 3 06:37:15 UTC 2024
I looked into this a few months ago for slightly different reasons
(juju/maas getting confused and not identifying a disk, due to differing
kernels used for install vs boot), I can confirm I found at the time
that the nvme by-id symlinks change due to backporting of the
NVME_QUIRK_BOGUS_NID quirk. This was
Unfortunately backports of this quirk for random SSD models has been
regularly done to linux -stable kernels upstream. I ran out of time to
follow-up on this at the time, but probably this practice needs to be
raised upstream with the kernel and possibly needs to stop and/or some
solution to do with the symlinks needs to happen, I didn't quite get as
far as understanding why the BOGUS NID matters and what that breaks, or
what is fixed by the change, fully.
There are a couple of other open bugs related to this issue, e.g. where it also breaks on upgrade:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2039108
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1940723
in my juju/maas case this was happening with VirtIO SCSI devices too,
not a real SSD. As that was also quirked. May make for a way to
reproduce the issue without one of the effected SSDs.
Possibly also related links I collected:
https://lore.kernel.org/all/20220606064055.GA2450@lst.de/T/#madf46b0ae9d07405bad2e324cb782c477e7518b2:
https://bugs.launchpad.net/curtin/+bug/2015100
https://bugzilla.redhat.com/show_bug.cgi?id=2031810
https://bugzilla.kernel.org/show_bug.cgi?id=217981
https://www.truenas.com/community/threads/bluefin-to-cobia-rc1-drive-now-fails-with-duplicate-ids.113205/
** Bug watch added: Red Hat Bugzilla #2031810
https://bugzilla.redhat.com/show_bug.cgi?id=2031810
** Bug watch added: Linux Kernel Bug Tracker #217981
https://bugzilla.kernel.org/show_bug.cgi?id=217981
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2083176
Title:
grub-efi/install_devices becoming stale due to by-id/nvme-eui.*
symlinks disappearing
Status in grub2 package in Ubuntu:
Confirmed
Status in linux package in Ubuntu:
New
Bug description:
A family member just sent me this dialog that popped up when they
installed their updates today. I'm not sure how a regular user is
supposed to be able to handle what is presented here. Do they check
the box? What happens if they don't?
Heck, even I don't know what the proper action is here.
This dialog box needs to be removed and a safe default needs to be
applied automatically during upgrades.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2083176/+subscriptions
More information about the foundations-bugs
mailing list