Mailinglist Archive: opensuse-features (365 mails)

< Previous Next >
[openFATE 308626] Snapshot/Rollback interface to the ZYpp stack
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 2 Mar 2010 13:44:41 +0100 (CET)
  • Message-id: <feature-308626-6@xxxxxxxxxxxxxx>
Feature changed by: Andreas Jaeger (a_jaeger)
Feature #308626, revision 6
Title: Snapshot/Rollback interface to the ZYpp stack

- openSUSE-11.3: New
+ openSUSE-11.3: Evaluation
Priority
Requester: Mandatory

Requested by: Duncan Mac-Vicar (dmacvicar)
Partner organization: openSUSE.org

Description:
Ability for libzypp and exposed via zypper to snapshot either
automatically or explicitly the system before commit happens, plus an
interface to revert the system.
The interface should be generic and allow for different possible
implementations which should be offered depending on the context:
* btrfs based if /root is btrfs
* simple based on package list before commit, plus package history and
current package list to determine diff last transaction
* two root partitions, where the interface would clone root filesystem
before commit and switch them at rollback time.
The feature includes the concept, and a working implementation with one
or more of the strategies described before.

References:
https://fedoraproject.org/wiki/Features/SystemRollbackWithBtrfs
http://dev.chromium.org/chromium-os/chromiumos-design-docs/filesystem-autoupdate
http://wiki.rpath.com/wiki/Conary:conary_rollback

Documentation Impact:
Requires description of the functionality in zypper options

Test Case:
zypper install foo bar zypper rollback
System should be as before the installation. Corner cases are not
important.

Use Case:
Administrator installs a bunch of updates, which leaves the system in
an an unworkable state. He types zypper rollback to undo the changes.

Business case (Partner benefit):
openSUSE.org:
* Customer asked about snapshoting during our last meeting.
* Feature parity with Solaris which is implementing package rollback
based on ZFS
* RHEL goes the same route, announced btrfs rollbacks in yum
* We can do better, offering something more flexible and not btrfs
dependent to support different scenarios: SLES (btrfs), Appliances
(dual system partition), openSUSE (simple package list)



--
openSUSE Feature:
https://features.opensuse.org/308626

< Previous Next >
This Thread