-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
livefs - rolling back to pre-live applied commit seems wrong #802
Comments
A definite general problem we have with We could perhaps tweak rollback to prefer rolling back to a non-livefs commit? But why were you rolling back? Just playing with it? |
Or should the livefs commit just not be in the bootloader at all? I think we toyed with the idea a bit during discussions, and the issue is that it'd require breaking that assumption that Essentially, in the workflow we're establishing, do we even want users to be able to reboot into livefs deployments? Or should we emphasize the fact that they're temporary until you're ready to upgrade? |
Is it possible to have deployments have sub-deployments? i.e. a base commit can have a package layered sub-commit and also a live-applied version of that sub-commit? I would definitely propose that live commits are never booted into and basically are just "live versions" of the staged deployment for next boot. We should also make sure that any future actions to the live commit also make it back into an actual real staged deployment. i.e. a live-commit always has a 'real deployment' partner. |
We had a quick discussion about this, and I think everyone agreed that we should avoid booting into something that shows "live modified". (However we implement that - separating the deployment/bootloader entries would be one) |
We did break that assumption with deployment staging; but I'm not following your proposed implementation here. The booted deployment is in the bootloader entries, so...we'd need to either do a dynamic mount, or remove it from the entries right? Were you thinking of something like applying the livefs changes to an overlayfs? |
Right, we'd still write to the bootloader, but we simply omit the booted (now live) deployment. Before staging, this meant: after
|
Closing as stale with the new livefs implementation (#2293). |
(That implementation doesn't touch the bootloader at all.) |
I don't think the rollback behavior with livefs is quite what we want. We are able to get the system into a state where we actually 'rollback' to a livecommit. My understanding is that livecommits should only really be used for the duration of the boot in which they were applied, but I could be wrong.
Starting from an image based on
25.127
(cdd359911de49f3a8199ffd41a9894019562001d6cf9be66e1894c31b6fa1c66
) I did the following to update to testing branch with newer version of rpm-ostree:Then reboot:
Then rollback:
after reboot:
The text was updated successfully, but these errors were encountered: