[Bugs] #1562 UNSP: Ensure that datastore initialization is written completely to disk

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Nov 19 09:24:39 EST 2009


#1562: Ensure that datastore initialization is written completely to disk
------------------------------------------+---------------------------------
    Reporter:  sayamindu                  |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-datastore            |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 If a filesystem corruption occurs just after the datastore has been
 written after first boot, on subsequent boots, Sugar refuses to start and
 the display-manager gets into an unending loop, making recovery without a
 reflash/re-install very difficult.

 We can make the chances of this happening less by calling sync() after the
 datastore initialization, and also making the get_version() method more
 robust.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1562>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list