[Sugar-devel] [PATCH] Remove bitmap icon handling from s-p-s

James Cameron quozl at laptop.org
Thu Aug 12 18:42:52 EDT 2010


On Thu, Aug 12, 2010 at 11:31:35AM -0400, Bernie Innocenti wrote:
> For some unknown reason, this code broke boot on one XO I've seen.
> 
> The jpg file was missing, which made the initialization code raise an
> exception. The bug might very well be in jffs2, I've seen filesystem
> corruption before...

Oooh, then it's a more important fix than I had originally considered.

> Nevertheless, Sugar should be as tolerant as possible to data corruption
> because if it doesn't even start, users don't have a chance to recover
> their data.

I agree.  Sugar should be tolerant of missing files (ENOENT),
inaccessible files (EACCES), or other more exotic conditions (ELOOP?).
Testing this would be interesting though time consuming ... and
potentially of not much benefit.  If anyone would like to consider it
... I would suggest removing files one by one from the list given by
"rpm -ql" and see what happens.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list