Tim Knitter wrote: > > > Ethan Quach wrote: >> >> >> Dan Price wrote: >>> On Fri 21 Mar 2008 at 02:23PM, Tim Knitter wrote: >>> >>>> pkg install & uninstall ... >>>> - Take a snapshot before the attempted install/uninstall >>>> - install/uninstall to the live BE (see Note below) >>>> - If there are install/uninstall errors: >>>> ~ clone the snapshot >>>> ~ mount it but do not activate. ~ display to user >>>> that the failed attempt >>>> can be restored by activating the clone and rebooting >>>> - If there are no installation errors: >>>> destroy the snapshot. >>>> >>> >>> This seems a bit confusing to me: If an install encounters errors-- >>> can't we >>> just back out what we did and restore the files we changed from the >>> snapshot? (or from the repo?) >>> >> >> Or what about just rolling back to the snapshot? > > Rolling back to the snapshot won't work for operations on the live BE > since it can't be unmounted. I proposed rollback for the non-live > solution.
zfs does support rollback without unmount now, even on the root fs. -ethan > > Tim > >> >>> This may be a short-term fix, I realize-- but at a minimum it seems >>> like RFEs should be opened so that we can do better. >>> >>> -dp >>> >>> _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
