[Bugs] #1876 UNSP: Failure to cleanup temporary files after filesystem full errors

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 21 14:54:55 EDT 2010


#1876: Failure to cleanup temporary files after filesystem full errors
------------------------------------------+---------------------------------
    Reporter:  bernie                     |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.84.x                     
    Severity:  Critical                   |       Keywords:  sugar-0.84                 
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by bernie):

 > We should also check what happens if the unpacks dies mid-way
 > without clean-up, e.g. due to power loss. A quick glance at
 > the code suggests it will try to run the incomplete copy,
 > never unpacking it cleanly (without manual intervention).

 I'm attaching a trivial patch to take care of the crash case.

 While this doesn't completely fix the bug, it lowers its severity down to
 a non-blocker because now users can recover their systems by simply
 rebooting them.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1876#comment:7>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list