-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
fix: remove default snapper config and incorrect snapshots #1939
Conversation
I still think fixing the config using |
It would create too much drift with previous images This PR fixes the problem cleanly and removes previous drift More than 95% of users do not need snapper. And for the other 5% messing with their config is not acceptable |
we are talking about a config where the timers somehow got enabled and 10 years worth of snapshots are being kept, thats not really a sane snapper setup in general unless we are talking about some serious data hoarding in /var/home |
This workaround is too intrusive, it will wipe out all snapshots, potentially including user made ones. |
We only get one shot to detect the invalid config. If we start making changes we cannot detect it anymore Deck images must not use snapper at all. It is broken functionality as it will fill up their storage when deleting games. And desktop images in their majority should not. Even if the config is set for a day, this is too long
It only deletes timeline snapshots and only runs if the invalid config is detected. We can also touch a file to force it to run once. |
manual ones are kept |
Alright so only timeline snapshots. Fair. Though this would be better off by not doing it in the hardware setup script, that doesn't do any favors. |
Thats what the hardware setup script is for. Random oupsies. We cannot add new services every time there is a mistake. |
Fair. There is also the part of nuking the configuration. Maybe instead of completely removing it, setting more sane defaults would alive the issue instead of leaving btrfs-assistant unusable |
Would break users that want to actually use snapper. The only clean condition for cleaning snapshots is if the invalid config exists, because no sane user would set it up that way. After that, it should never run again or mess with the config |
Opening btrfs-assistant allows you to make a config with one click and enable the services as well. |
that config will be for |
Alright fair. Bit nuclear of an option. Not that mine is any better by reducing the timeline duration to like 10 days or so(?), so not against it. Pls add a |
Seems to allow me to create /var/homw with no config |
well im fine with this and then later add a proper config since we found out the config in the repo was not used. |
feat: Move default snapper config into ujust as followup to #1939
Something lead to snapper turning on on its own and making snapshots forever. Revert the niceties that can still be added via ujust (and were broken) and remove the incorrect snapshots that might have been created.