URL: <https://savannah.gnu.org/bugs/?66301>
Summary: Unknown filesystem error (UEFI, Y2K38 related)
Group: GNU GRUB
Submitter: viavisolutions
Submitted: Mon 07 Oct 2024 07:20:20 PM UTC
Category: Filesystem
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: a_biardi
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Release:
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 07 Oct 2024 07:20:20 PM UTC By: Andrea <viavisolutions>
Under certain conditions, grub-install fails to install for the x86_64-efi
target with error "Unknown filesystem".
Bug was observed on a ubuntu 22 server install.
After analysis, it seems like grub-install fails if it encounters a directory
entry in the EFI system partition that has a timestamp that exceeds the 32-bit
unix timestamp limit.
Reproducing script attached.
My bug is related to grub-install, that's how I encountered it; however note
that you can also break a perfectly working system with a one-liner like:
touch -d 2038-01-20 /boot/efi/EFI
# ^^ adjust paths according to how grub is installed
System won't boot anymore (it will produce an "Unknown filesystem" error at
boot, and force grub to enter rescue mode; one can observe that grub can't
"ls" the EFI partition).
Might be related to bug 64821 and/or bug 63894
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: reproducer.sh Size: 747B
<https://file.savannah.gnu.org/file/reproducer.sh?file_id=56484>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-4b4b00b0e6d9bef569f37a431187fcc368af078e.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66301>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
