rpm-ostree
rpm-ostree copied to clipboard
RFE: Record and redo pending transactions after forced reboot
After a forced reboot, e.g. reboot -f
or a power failure, the pending deploy and all the transactions are lost. For example:
# rpm-ostree install somepackage
# rpm-ostree kargs --append-if-missing=abc=abcd
# rpm-ostree kargs --delete=efg
# rpm-ostree upgrade
# reboot -f
I hope rpm-ostree can record the pending transactions somewhere under /var
and provide a sub-command like rpm-ostree redo
to re-apply them after a forced reboot.
We do have rpm-ostree ex history
today; it could make sense to do this there. (And promote history
to stable someday...)
It would be nice there is a service to redo the pending transactions at some early boot stage and reboot automatically. Then end-user won't aware the difference between forced and normal reboots.