[Bug 235937] New: emergency undo patch / install (CRITICAL/MAJOR)

https://bugzilla.novell.com/show_bug.cgi?id=235937 Summary: emergency undo patch / install (CRITICAL/MAJOR) Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bluedzins@wp.pl QAContact: jsrain@novell.com Please look at: https://bugzilla.novell.com/post_bug.cgi Ok, this patch is a disaster, and problem of quality. But it happened and it can happen again. There is no tool right now to easily recover from such "fixing" (there is no unfixing). I think that mechanism with undo feature is a must. The user could run it, see the list of installed software, history-like, and mark all the packages for reverting to the previous state. I don't know how about other users, but I am done with installing new patches -- without easy undo I don't have spare hours to fix what patch can damage. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bluedzins@wp.pl ------- Comment #1 from chrubis@novell.com 2007-01-18 08:14 MST ------- The link abowe is pointing to bugzilla submit bug page witch is realy confusing. In my opinion you want to put here pointer to other bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 ------- Comment #2 from bluedzins@wp.pl 2007-01-18 10:11 MST ------- I am terribly sorry: https://bugzilla.novell.com/show_bug.cgi?id=235934 The problem is in general -- what the user should do if the patch has a bug? For now there is no tool to help the user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 bluedzins@wp.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|bluedzins@wp.pl | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |yast2-maintainers@suse.de |screening@forge.provo.novell| |.com | Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |kkaempf@novell.com Component|YaST2 |libzypp ------- Comment #3 from sh@novell.com 2007-01-25 07:43 MST ------- This is a pretty old discussion; it arises whenever we do major changes to the package management and patches subsystem. It might be possible to keep track of the history of packages, patches, patterns and similar objects. Having that history available would be a prerequirement to have that "undo patch" capability that you have in mind, or an even more general "undo package management action" capability. This would even work if the only thing we would have to be concerned with would be static objects like RPM packages or patches that contain RPMs or patch RPMs: We would somehow have to locate the version that was previously installed and downgrade to that version. But unfortunately things are not that easy. Many patches contain scripts; worse, some patches consist only of scripts. And those scripts can do anything. There is no generic way to undo all the changes such a script could possibly do, and that would be needed to get the system back to the exact previous state. To some extent, the same even holds true for plain RPMs: They also can have pre-install and post-install scripts. The general idea there is that they should also have pre-uninstall and post-uninstall scripts to undo what their counterparts did. The same logic would have to be applied to patches: Each patch script would need an "undo" script. Of course, the more sophisticated the scripts become, the more complex a corresponding "undo" script would have to be. The sequence of how all this is executed is another key issue; you would have to undo all actions until that point that you want undone. It could not be a generic "safely uninstall patch" feature, only a rollback to a previous state. How other tools cooperate is another issue. If you use only YaST2, zypper, zmd/rug that use libzypp, things could be handled. If on the other hand you occasionally use plain "rpm" on the command line or via other tools like "kpackage" and similar, some vital information about the history of package management on your system might get lost. This is all a very complex topic. We have it on the radar, but we can't make any promises. -> kkaempf for further tracking (there might even be a Fate ID yet) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |libzypp2 ------- Comment #4 from kkaempf@novell.com 2007-01-25 08:44 MST ------- Yes, we are well aware of this requirement. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=235937#c7 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|LATER | --- Comment #7 from Klaus Kämpf <kkaempf@novell.com> 2007-10-05 03:10:32 MST --- Revisit in preparation of Code11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=235937#c8 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #8 from Klaus Kämpf <kkaempf@novell.com> 2007-10-09 03:17:00 MST --- We will try to improve here in the future but a complete fix (rollback implementation) is out of scope for OpenSUSE. Closing as wontfix for OpenSUSE. A full implementation should be provided for enterprise products. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com