Red Hat Bugzilla – Bug 1461765
[RFE] Call OS sync after transaction
Last modified: 2017-09-06 02:18:01 EDT
I got power outage after dnf transaction was completed but before the ext4 default commit limit of 5 seconds. I think calling OS syscall "sync/fsync" can't much hurt and it could prevent from these situations.
A simple core plugin could do it, but this feature is only useful when enabled by default.
dnf doesn't care about what happens after transaction, this is for RPM.
Yeah it seems like a no-brainer and mildly hysterical that rpm hasn't done this. Added upstream.