F11 for the X01- shutdown
Martin Langhoff
martin.langhoff at gmail.com
Fri Jul 31 18:57:02 UTC 2009
On Fri, Jul 31, 2009 at 10:24 AM, Yioryos
Asprobounitis<mavrothal at yahoo.com> wrote:
>
> Actually issuing
> [root at localhost activity]# /usr/sbin/olpc-update-query
> consistently shuts down my XO!
> And I do have the devkey installed
Yes, that's consistent with the diagnosis we've been making.
If you can edit your olpc-update-query script (make a backup!) find
the line that calls 'halt', comment it out (prefixing it with a #) and
add right under it, with the same indentation:
report(0, 'Server said stolen: %s' % data)
the whole block of code will look like
if isxo and 'stolen' in resp_map:
check_stolen_hash(resp_map['stolen'], uuid, nonce)
# this machine has been reported stolen - get rid of
# any leases and poweroff
if os.path.exists(LEASE_FILE):
os.unlink(LEASE_FILE)
#call(['/usr/bin/halt'])
report(0, 'Server said stolen: %s' % data)
exit()
cheers,
m
>
> --- On Fri, 7/31/09, Martin Langhoff <martin.langhoff at gmail.com> wrote:
>
>> From: Martin Langhoff <martin.langhoff at gmail.com>
>> Subject: Re: F11 for the X01- shutdown
>> To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
>> Cc: "James Cameron" <quozl at laptop.org>, "Daniel Drake" <dsd at laptop.org>, fedora-olpc-list at redhat.com
>> Date: Friday, July 31, 2009, 11:49 AM
>> On Fri, Jul 31, 2009 at 9:39 AM,
>> Yioryos
>> Asprobounitis<mavrothal at yahoo.com>
>> wrote:
>> >
>> > --- On Fri, 7/31/09, Martin Langhoff <martin.langhoff at gmail.com>
>> wrote:>
>> >> It does sound like the server response says
>> stolen. What
>> >> does the
>> >> 'data' variable -- which will hold the raw server
>> response
>> >> -- contain?
>> >>
>> >> Arguably, if the machines are jailbroken, then
>> >> olpc-update-query
>> >> shouldn't care. Clearly your machines are
>> devkey'd.
>> >>
>> >
>> > Well,... I _believe_ I had security disabled in OFW
>> long time
>>
>> Can you dump the contents of 'data' for us? If the server
>> seems to
>> claim your XO is stolen, part of the question is why?
>>
>> 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
>>
>
>
>
>
--
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 Fedora-olpc-list
mailing list