On Tue, 21 Mar 2017, Thorsten Kukuk wrote:
On Tue, Mar 21, Johannes Meixner wrote:
Hello Thorsten,
On Mar 20 15:06 Thorsten Kukuk wrote (excerpt):
https://en.opensuse.org/openSUSE:Packaging_for_transactional-updates
It reads: ------------------------------------------------------------------------- ... instead of creating a snapshot, updating the current system and rolling back if an error happened, we create a snapshot, update this snapshot, and do a "rollback" to that snapshot if no error did occur. -------------------------------------------------------------------------
Can you explain therein the reason behind why it is done this way or add a link that points to an explanation?
That's explained in the very first sentences:
"Transactional updates are atomic. This means, either the update is fully applied without any error, or no change is made to the system. Additional, transactional upates should not influence the currently running processes."
If you update the running system, none of this is fullfillable.
But it also means the "running system" part that is transactionally modified should better be readonly as otherwise you lose changes done during transaction start and commit? Richard.
Thorsten
--
Richard Biener