Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-17 Thread Michael Stone
On Sun, Mar 15, 2009 at 06:30:17PM -0400, Daniel Drake wrote: >2009/3/15 Martin Langhoff : >> "Client" code for Gadget seems to be integrated in the Telepathy new >> Sugar present on the SoaS images. The server side -- the proper gadget >> code -- isn't on any XS, and I haven't seen or tested it (l

[Server-devel] Mass olpc-update via XS?

2009-02-18 Thread Michael Stone
Dear XS folks, Daniel Drake, currently in Paraguay, wants to try implementing the procedure described in http://wiki.laptop.org/go/User:Mstone/Commentaries/Mass_olpc-update via XSen (using DNS to redirect the XOs' theft-deterrence protocol requests to the local XS.) However, after briefly sc

Re: [Server-devel] xs-otp: one time passwords for the XS

2008-10-26 Thread Michael Stone
On Sun, Oct 26, 2008 at 04:46:17PM +0100, Martin Langhoff wrote: >On Fri, Oct 24, 2008 at 7:33 PM, Michael Stone <[EMAIL PROTECTED]> wrote: >> Do the XS installation instructions offer any guidance on prohibiting >> booting with init=/bin/bash, booting from external media,

Re: [Server-devel] offline moodle

2008-09-03 Thread Michael Stone
On Thu, Sep 04, 2008 at 09:31:04AM +0545, Bryan Berry wrote: >On Thu, 2008-09-04 at 15:10 +1200, Martin Langhoff wrote: > >good to hear we're on the same page. > >> AIUI, the user only has to get to the initial moodle page, and GG >> should take care of the rest. > >you've reached beyond my geek li

Re: [Server-devel] Ubuntu XS

2008-08-17 Thread Michael Stone
On Mon, Aug 18, 2008 at 07:41:13AM +1000, Pia Waugh wrote: >There are a few interesting feature requests I've had from local trials, >including the ability to only allow an XS to talk to "approved" XOs, to >avoid strangers parking outside a school with an XO and interacting with >children (worst ca

Re: [Server-devel] Static Ip settings

2008-08-14 Thread Michael Stone
On Tue, Aug 12, 2008 at 12:34:07PM -0700, Tom Mitchell wrote: >Removing the man and info pages is an obvious and necessary step to keep >within the >tight space limits of the XO.In a not too urgent future .. I would like to >see the "rm" become a "mv" so they can be captured and packaged for >

Re: [Server-devel] A simple signed bundle/directory trust scheme for the XS

2008-08-11 Thread Michael Stone
Martin, Thanks for your note. Unfortunately, it left me with more questions than with answers. Some questions include: * What use cases are you trying to support? * What threats obstruct supporting those use cases? * What trust structure are you trying to create and how does it mi

Re: [Server-devel] Reschedule XS meeting for Friday Aug 15 - or 10 PM Aug 14 EST ---- was (Re: not up for Friday meeting about the XS)

2008-08-09 Thread Michael Stone
On Sat, Aug 09, 2008 at 12:11:56PM +0545, Bryan Berry wrote: >VoIP would be more effective but would require much more effort. Fedora recently set up its own VOIP system, so there may be experts lurking nearby who could be tempted into assisting you. Michael __

Re: [Server-devel] Testing EduBlog

2008-08-02 Thread Michael Stone
On Sat, Aug 02, 2008 at 12:45:24PM -0700, Carol Lerche wrote: >Michael, how did you envision publishing a blog on the Internet without the >use of a server? The kids are using the write activity to compose their >posts. I'm confused by your comment. Carol, I'm sorry I confused you. I envisioned

Re: [Server-devel] Testing EduBlog

2008-08-02 Thread Michael Stone
On Fri, Aug 01, 2008 at 04:42:58PM -0400, Greg Smith wrote: >Scott and Michael raised the question of why we didn't build it as a .xo >only project with no need for server. I explained the constraints of >time and image in Uruguay and they understood that. > >There were less convinced that it sho

Re: [Server-devel] ds-backup - help with a trial happening right now

2008-07-30 Thread Michael Stone
On Thu, Jul 31, 2008 at 12:12:48PM +1200, Martin Langhoff wrote: >Hi Pia! > >On Thu, Jul 31, 2008 at 11:51 AM, greebo <[EMAIL PROTECTED]> wrote: >> project however I'm rolling out 703 imaged laptops as we need them to the >> stable for this deploymeent and apparently the software doesn't work on >>

Re: [Server-devel] Newer ds-backup-client RPMs for joyride...

2008-07-30 Thread Michael Stone
Martin, When releasing ds-backup revisions, please update documentation like http://wiki.laptop.org/go/Ds-backup Sorry that I forgot as well! Michael ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/serv

Re: [Server-devel] Some documentation for DS-Backup

2008-07-08 Thread Michael Stone
On Tue, Jul 08, 2008 at 03:36:21PM -0400, Robson Mendonça wrote: > Tomeu, what you think about the Journal can be able to download directly a > old entry from XS? Apparently already done; see the support in the Journal for '.xoj' Journal Entries. Michael _

Re: [Server-devel] [PATCH] postprocess.py: an incrond-triggered script to cleanup file transfers

2008-06-26 Thread Michael Stone
On Thu, Jun 26, 2008 at 07:10:18PM -0400, [EMAIL PROTECTED] wrote: > diff --git a/server/postprocess.py b/server/postprocess.py > new file mode 100755 > index 000..82a2418 > --- /dev/null > +++ b/server/postprocess.py > +homebasepath = '/library/users' > +dirpath = sys.argv[1] > +fname

Re: [Server-devel] [PATCH] ds_backup.py: Implement server availability check

2008-06-24 Thread Michael Stone
On Tue, Jun 24, 2008 at 08:18:22PM -0400, [EMAIL PROTECTED] wrote: > +def check_server_available(server, xo_serial): > + > try: ... > +ret = urllib2.urlopen(server + '/available/%s' % xo_serial).read() > +return 200 > +except HTTPError, e: > +# server is there, did

Re: [Server-devel] [PATCH] Detect school network, fix sleep and race, fix AC

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 06:34:15PM -0400, Martin Langhoff wrote: > On Mon, Jun 16, 2008 at 6:09 PM, Michael Stone <[EMAIL PROTECTED]> wrote: > > Are you saying that you think the overhead of starting a single extra > > python interpreter is too high? > $ time py

Re: [Server-devel] [PATCH] Touch a ".transfer_complete" to mark completion, minor cleanups

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 06:20:02PM -0400, Martin Langhoff wrote: > Note: this is a work in progress. Naturally. > Back to your question: we tack on a "transfer_complete" flag file in a > 2nd rsync transmission that is conditional on the first one > succeeding. A better solution is to wrap rsyn

Re: [Server-devel] [PATCH] Detect school network, fix sleep and race, fix AC

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 05:24:09PM -0400, Martin Langhoff wrote: > Scraping it in shell is horrid, and the tests are mixed up (costly and > cheap tests) so -- I know it looks like a sloppy job, but there wasn't > anything pretty that I could do there. The point of the shell stage is > to do what we

Re: [Server-devel] [PATCH] Touch a ".transfer_complete" to mark completion, minor cleanups

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 05:01:32PM -0400, Martin Langhoff wrote: > On Mon, Jun 16, 2008 at 4:42 PM, Michael Stone <[EMAIL PROTECTED]> wrote: > >> -def new_backup_notify(server, nonce, xo_serial): > >> -try: > >> -auth = sha.sha(nonce + xo_serial) &

Re: [Server-devel] [PATCH] ds_backup - major rework

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 01:46:25PM -0400, [EMAIL PROTECTED] wrote: > From: Martin Langhoff <[EMAIL PROTECTED]> > +# setup datastore connection > +bus = dbus.SessionBus() > +obj = bus.get_object(DS_DBUS_SERVICE, DS_DBUS_PATH) > +datastore = dbus.Interface(obj, DS_DBUS_INTERFACE) Mig

Re: [Server-devel] [PATCH] Detect school network, fix sleep and race, fix AC

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 01:46:37PM -0400, [EMAIL PROTECTED] wrote: > From: Martin Langhoff <[EMAIL PROTECTED]> > > - Adds network-detection cribbed from > olpc-netstatus to skip execution unless we know > we are in a school network. Do we know if this XS detection works with UY's school servers?

Re: [Server-devel] [PATCH] Introducing ds_backup.sh - a lightweight wrapper.

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 01:46:32PM -0400, [EMAIL PROTECTED] wrote: > From: Martin Langhoff <[EMAIL PROTECTED]> > +# make the lock dir if needed > +if [ ! -d ~/.sugar/default/lock ] > +then > +mkdir ~/.sugar/default/lock > +fi Why not use /var/lock like everybody else? We can add appropriate us

Re: [Server-devel] [PATCH] Add growdatastore script from Tomeu

2008-06-16 Thread Michael Stone
On Mon, Jun 16, 2008 at 01:46:27PM -0400, [EMAIL PROTECTED] wrote: > +for i in range(0, 10): Maybe it would be good if we could set the quantity of growth on the script's command-line? Michael ___ Server-devel mailing list Server-devel@lists.laptop.or

Re: [Server-devel] [PATCH] Touch a ".transfer_complete" to mark completion, minor cleanups

2008-06-16 Thread Michael Stone
> -def new_backup_notify(server, nonce, xo_serial): > -try: > -auth = sha.sha(nonce + xo_serial) > -# TODO: add auth header > -ret = urllib.urlopen(server + '/new/%s' % xo_serial).read() > -except IOError, e: > -if e[1] == 403: > -# Auth not accep

Re: [Server-devel] XO-XS backups

2008-05-15 Thread Michael Stone
On Fri, May 16, 2008 at 03:23:18PM +1200, Martin Langhoff wrote: > At this stage, I am slowly hacking on ds-backup.py. My plan so far is to Where can I find your code? Thanks, Michael ___ Server-devel mailing list Server-devel@lists.laptop.org http://l

Re: [Server-devel] Collaboration between schools

2008-04-23 Thread Michael Stone
On Wed, Apr 23, 2008 at 06:28:57PM -0400, John Watlington wrote: > > I learned more about the network built by the MED in Peru for their > schools. Each school is in its own VLAN, and cannot route to the > other schools, only to the Internet and to MED servers. Pardon my ignorance, but what are

Re: [Server-devel] Customizing build 703 for mass deployment

2008-04-21 Thread Michael Stone
Bryan, > not very elegant. Would like a better solution but time is short. I've already suggested three more elegant mechanisms: * tarball -> edit -> mkfs.jffs2, * bootUSB -> edit -> savenand, and * puritan. > We don't expect the kids to run olpc-update do we? Running OLPC-Update > on

[Server-devel] Synchronizing xs-0.3 and xo-??? --- backups

2008-04-21 Thread Michael Stone
Martin, Based on feedback from Peru, Mexico, and Nepal, the "restoration from disaster-recovery backups" XO/XS coordination feature has been steadily rising in priority. I also notice that "Backups" is your first line-item on the XS-0.3 roadmap. My large question is: "what changes need to be made