F11 for the X01- shutdown

Yioryos Asprobounitis mavrothal at yahoo.com
Fri Jul 31 18:54:58 UTC 2009




--- On Fri, 7/31/09, Daniel Drake <dsd at laptop.org> wrote:

> From: Daniel Drake <dsd at laptop.org>
> Subject: Re: F11 for the X01- shutdown
> To: "James Cameron" <quozl at laptop.org>
> Cc: "Yioryos Asprobounitis" <mavrothal at yahoo.com>, fedora-olpc-list at redhat.com, "Martin Langhoff" <martin.langhoff at gmail.com>
> Date: Friday, July 31, 2009, 2:15 PM
> 2009/7/31 James Cameron <quozl at laptop.org>:
> > On Fri, Jul 31, 2009 at 05:14:07PM +0545, Daniel Drake
> wrote:
> >> I think I see the problem. I think martin has
> misinterpreted the theft
> >> deterrence protocol.
> >
> > Per "rpm -qf /usr/sbin/olpc-update-query" one can see
> that it is from
> > package olpc-update-2.19-1.fc11.noarch
> >
> > Is there an earlier version?
> >
> > Where can I find the src.rpm and the upstream source?
> 
> It's a standard Fedora package.
> 
> >> In check_stolen_hash(), please modify strings to
> be:
> >>     strings = ( uuid + ':' + nonce + ':STOLEN'
> )
> >> i.e. remove the first entry, which actually
> indicates non-stolen.
> >>
> >> Does that help?
> >
> > No.
> 
> Your diff is correct but I see a 2nd bug too: the return
> value of
> check_stolen_hash is never checked.
> 
> handmade diff for you to test:
> 
> -    if isxo and 'stolen' in resp_map:
> -   
>    check_stolen_hash(resp_map['stolen'],
> uuid, nonce)
> +    if isxo and 'stolen' in resp_map and
> check_stolen_hash(resp_map['stolen'], uuid, nonce):
>  # this machine has been reported stolen - get rid of
> 
> let me know if you need more details...
> 

I do not know if with this patch the XO is still protected but certainly /usr/sbin/olpc-update-query in NOT crashing my XO anymore


      




More information about the Fedora-olpc-list mailing list