[Server-devel] consequences of re-registering with XS

Martin Langhoff martin.langhoff at gmail.com
Fri Feb 13 22:26:50 EST 2009


On Fri, Feb 13, 2009 at 2:25 AM, Daniel Drake <dsd at laptop.org> wrote:
> To avoid this situation in future (should we ever run into it again,
> fingers crossed we won't), we are considering a small modification to
> the paraguay OS build which makes the "Discard network history" button
> also clear the XS registration information (by deleting the
> server.backup1 line from sugar config). This code modification can be
> done with a single sed call, since there is already an unused sugar
> function to clear registration info.

And if you post it as a nice patch, I'll push for it to be folded into
Sugar. It's been on my Sugar wishlist for a while...

> Of course, this means that the users (children) can now trivially lose
> their registration data. Are there any undesirable consequences of
> this that I am missing?

Nope. If an XO forgets it's registered and registers again, nothing
bad happens. The XS welcomes back the long lost son, no prickly
questions asked.

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list