On Fri, Oct 10, 2025, at 2:41 AM, Vitaly Zaitsev via devel wrote:
> Using an unjournaled VFAT file system on the /boot partition is only 
> acceptable on laptops or desktop computers with a UPS. On all other 
> configurations, it is unacceptable, as a power failure, system freeze, 
> etc., while writing to this file system can easily corrupt it and leave 
> the system in unusable state.

As it turns out, GRUB does not do log replay for ext4, XFS or Btrfs.

I also doubt GRUB does checksum verification for any file system, metadata or 
data.

I'm skeptical kernel installations are currently crash/power safe. The last 
time I looked at this it was complicated, predated the BLS change, i.e. we were 
still updating grub.cfg - and at that time I was able to reliably reproduce 0 
length grub.cfg from the perspective of GRUB because log replay had not yet 
occurred.

Revisiting this should include using dm-log-writes. And check all the candidate 
file systems to see what's really going on.

-- 
Chris Murphy
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to