-
Notifications
You must be signed in to change notification settings - Fork 35
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
don't throw away failed snapshot #45
Comments
ha, found the reason. The error messages and the mkinitrd output at the end were misleading
anyways, the request to keep also failed snapshots stays |
And who cleans up the failed snapshots? |
Agreeing to what Thorsten said: the However from a user's perspective it may indeed be an idea to introduce a |
a failed snapshot would get cleaned up just like any other, right? So while the mechanism could be optimized for more aggressive cleanup of course it's just that, an optimization. Ie not strictly required. Since the keep option wouldn't be default the risk of having failed snapshots consume disk space would be a consciously taken one. In the situation I had I would have preferred investing disk space over time spent on manual zypper dup. |
On one of my systems I repeatedly have a problem where zypper dup fails with exit code 107 when run from
transactional-update dup
. The snapshot is thrown away then. Running it from withintransactional-update shell
works though. So hard to debug, esp since zypper has to download all packages again. Would it be possible to add a config option or command line switch to not throw away the snapshot even if whatever happened failed? That way it would be possible to inspect the inside after the failure.The text was updated successfully, but these errors were encountered: