Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14389] New: On re-cast, a failed install phase should not leave system without essential components.

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 14389] New: On re-cast, a failed install phase should not leave system without essential components.
  • Date: 23 Mar 2008 13:19:48 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14389

Summary: On re-cast, a failed install phase should not leave
system without essential components.
Product: Sorcery
Version: 1.13.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: eekee57 AT fastmail.fm


A while ago a little problem with installing udev left my system without an
installed udev. For some reason I didn't notice the cast had failed, probably
because it was one of many in a system-upgrade and I simply forgot about it
for
a while. In bug #14388 Patrick Ensign discovers that a failed cast of bash can
leave his system withut bash! I propose a little mechanism to avoid the bad
consequences of a failed cast.

Install behaviour in stable sorcery may be shown in the following pseudocode:

If compile was successful:
dispel spell
install spell
If install was successful:
report success
Else:
report error
End if
End If

I propose to add a step:

If compile was successful:
dispel spell
install spell
If install was successful:
report success
Else:
revert dispel (dispel -d spell last-installed-version)
report error
End if
End If

I propose particularly to make the change for sustained spells. I think it
would
be a nice idea for all spells, but am not sure.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 14389] New: On re-cast, a failed install phase should not leave system without essential components., bugzilla-daemon, 03/23/2008

Archive powered by MHonArc 2.6.24.

Top of Page