#3264 HIGH Trial-3: Tinderbox should be used to test Rainbow
Zarro Boogs per Child
bugtracker at laptop.org
Mon Sep 10 23:00:08 EDT 2007
#3264: Tinderbox should be used to test Rainbow
------------------------+---------------------------------------------------
Reporter: mburns | Owner: cjb
Type: task | Status: assigned
Priority: high | Milestone: Trial-3
Component: tinderbox | Version:
Resolution: | Keywords: security
Verified: 0 |
------------------------+---------------------------------------------------
Comment(by mstone):
Rainbow, as of v0.6.1, generates DBus signals
{{{
ActivityLaunching - Rainbow is processing a request to launch an activity
ActivityFailed - Rainbow knows the launch failed
ActivityStarting - Rainbow's part of the launch succeeded
}}}
from interface ''org.laptop.security.Rainbow'', object ''/'' on the
session bus.
These signals have, as an argument, a single string->string dictionary
which always contains keys named ''service_name'' and ''activity_id''. The
{{{ActivityFailed}}} signal's dict will also contain a key named
''exception'' which will record any output printed by the failed activity
on its stderr.
Notes: If desired, support for logging stdout and for reporting strace()
output could be trivially added. Also, due to current architectural
constraints, the {{{ActivityFailed}}} signal may be fired twice for the
same activity instance.
cjb: Does this interface satisfy you needs?
--
Ticket URL: <https://dev.laptop.org/ticket/3264#comment:5>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list