[Bug 2039172] Re: grub 2.12~rc1 fails to load files from large directories on XFS
Steve Langasek
2039172 at bugs.launchpad.net
Sun Nov 5 14:32:10 UTC 2023
Hello Julian, or anyone else affected,
Accepted ubuntu-release-upgrader into mantic-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:23.10.14
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-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. 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: ubuntu-release-upgrader (Ubuntu Mantic)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-mantic
--
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/2039172
Title:
grub 2.12~rc1 fails to load files from large directories on XFS
Status in grub2 package in Ubuntu:
Triaged
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Status in grub2 source package in Mantic:
New
Status in ubuntu-release-upgrader source package in Mantic:
Fix Committed
Status in grub2 source package in Noble:
Triaged
Status in ubuntu-release-upgrader source package in Noble:
Triaged
Status in grub2 package in Debian:
Confirmed
Bug description:
[Impact]
Multi-extent directories are not parsed correctly by grub's XFS code in 2.12~rc1, preventing it from loading files from directories with too many entries, such as the grub module directory.
This should only affect BIOS systems as they need to load the core
grub modules from the module directory, whereas UEFI systems have them
embedded in the ESP EFI image.
[Test plan]
On systems BIOS systems with XFS /boot, or XFS / and no separate boot
partition, the upgrade should be prevented early on with a message
linking to this bug report.
We should also test upgrades on "normal"/unaffected system to make
sure it is not unnecessarily prevented.
[Where problems could occur]
The two risks here are (1) missing a case where we should block upgrade, and (2) preventing an upgrade in a case where we should not. The unit tests included in the patch attempt to mitigate this risk.
Any issues would probably come from logic errors in the code that
parses /proc/mounts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2039172/+subscriptions
More information about the foundations-bugs
mailing list