F11 for the X01- shutdown
James Cameron
quozl at laptop.org
Fri Jul 31 10:31:32 UTC 2009
On Fri, Jul 31, 2009 at 02:26:13PM +0545, Daniel Drake wrote:
> See /usr/bin/olpc-update-query, the code near:
> # this machine has been reported stolen - get rid of
> # any leases and poweroff
I think you're right. Here's why:
[root at localhost ~]# ls -l /security/
total 0
-rw-r--r-- 1 root root 0 Jul 31 06:02 update-attempt
[root at localhost ~]# /usr/sbin/olpc-update-query
Error setting OHM inhibit: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.ohm was not provided by any .service files
Broadcast message from root at localhost.localdomain
(/dev/pts/0) at 6:23 ...
The system is going down for halt NOW!
[root at localhost ~]#
> I suggest removing the call to halt and adding some logging instead,
> to confirm this theory. If you could also log the value of
> str(resp_map) and show us this then it will help us diagnose the
> issue.
{'nonce': '6cb0c08d464152816a040ad071d4f46e', 'stolen':
'7df745eed2112c9fd3c356c35dda7cbdffa3c496d08e58641550fc0f651a12f4',
'time': '20090731T102917Z'}
{'nonce': '58aaf6558ab743a335bf5d5859a64a69', 'stolen':
'8038107e352154e6a0b3319cca4a20d884b095ce85268b9fc0e54eacde487cca',
'time': '20090731T103027Z'}
> Either activation.laptop.org is saying that your laptop is
> stolen, or there is some bug on the client side where it is
> misinterpreting the response and thinking that it has been stolen.
Both units don't do this with build 802.
--
James Cameron
http://quozl.linux.org.au/
More information about the Fedora-olpc-list
mailing list