[GTALUG] war story: power failure makes CentOS system unbootable

D. Hugh Redelmeier hugh at mimosa.com
Thu Sep 29 21:32:19 EDT 2022


| From: Lennart Sorensen via talk <talk at gtalug.org>

| Hmm, it's more complicated than that.  vfat supports atime updates,
| meaning just reading files from it causes writes.  Lovely.  So much for
| a simple fix.

Interesting.  I never knew that.

But the dirty bit could/should be cleared whenever the FS is in a 
consistent state.  Like: after a sync AND no files are open.  Maybe having 
a process with a working directory on the FS counts as having a file 
open; maybe not.

| Can you somehow flag it to be mounted read-only and then manually remount
| it if you actually have a reason to update it?

I imagine that that would require cooperation of too many actors (each 
thinking they are the star of the show).  I could experiment but how could 
I test all the cases>

My initial position was: packagekit should not need to access the ESP
except to apply updates.  But packagekit accesses the ESP when it
starts up.
	<https://bugzilla.redhat.com/show_bug.cgi?id=1991228>
Notice that there has been no response.


More information about the talk mailing list