[Bug 1172273] New: snapper rollback considered harmful
http://bugzilla.opensuse.org/show_bug.cgi?id=1172273 Bug ID: 1172273 Summary: snapper rollback considered harmful Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Not sure where to raise this. In a discussion with Ignatz yesterday I found out that one is not supposed to use snapper rollback in a transactional installation. snapper rollback would create a new snapshot of the btrfs filesystem and set that one as new default. Since snapper does not know about the overlay on /etc it does not modify /etc/fstab either. So the new snapshot would reuse the overlay fs of the current snapshot. In contrast transactional-update rollback only sets the specified number as new default. Ie doesn't create a clone. So that kind of rollback will just boot the old snapshot and continue on the overlayfs of that snapshot. That kind of behavior is quite surprising. Obvious solutions would be 1. have snapper recognize transactional mode and make rollback behave differently 2. make snapper rollback a noop with message, similar to how zypper refuses when in transactional mode. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172273 http://bugzilla.opensuse.org/show_bug.cgi?id=1172273#c3 Ignaz Forster <iforster@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iforster@suse.com --- Comment #3 from Ignaz Forster <iforster@suse.com> --- I'd propose to distinguish whether the default file system snapshot is read-only or not. My reasoning is that - besides from potentially confusing overlay numbers - a snapshot of a read-only file system would just create an identical copy anyway. The default subvolume could directly be set to the snapshot given to the `rollback` command instead. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com