[patch] DBUS System Activation II

Havoc Pennington hp at redhat.com
Mon Jun 18 15:27:59 PDT 2007


Hi,

Richard Hughes wrote:
> If we still return a numeric error code (to avoid rewriting large chunks
> of the dbus-spawn code) then we can still communicate a meaningful
> message to the user.

Sounds like a reasonable approach for now, better than nothing. Rather 
than adding activation-specific stuff to 
_dbus_babysitter_set_child_exit_error() I would probably add 
_dbus_babysitter_get_child_exit_status() and then process the status in 
activation.c. (Or something like that.)

You'll need a header with your status<->error mapping to share between 
the activation helper and activation.c.

Havoc



More information about the dbus mailing list