[Server-devel] [PATCH] Detect school network, fix sleep and race, fix AC
Michael Stone
michael at laptop.org
Mon Jun 16 18:09:30 EDT 2008
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 can cheaply before getting python involved.
Are you saying that you think the overhead of starting a single extra
python interpreter is too high?
Incidentally, I'm nominally the owner of olpc-netstatus (and, more
generally, of olpc-netutils / olpc-utils) so please send me some
patches. I suggest we break it up into a smaller shell programs or a
D-Bus object, then rewrite both olpc-netstatus and your test in terms of
those primitives.
> In any case, this isn't compatible with Uy or with NYC, so it has to
> go. We are back to trying to resolve "schoolserver" via DNS and
> claiming victory if the RSA keys of the server match our expectations.
Ick. Emiliano was asking me how we could include UY-XS detection in our
initramfs so that we can make our theft-deterrence protocol work for
them. Thoughts?
Michael
More information about the Server-devel
mailing list