On Tue, 2008-04-29 at 16:46 -0700, Liane Praza wrote:
> nwam would need to tell startd that it manages its child processes.  It 
> can do that by launching subprocesses in their own contracts.
> 
> Otherwise, startd just assumes that all processes that are launched are 
> part of the service, so any faults in any of them affect the entire service.
> 
> While I'd love to write a psychic startd,

libpsychic.so is bound to show up in SFW at some point soon. ;-)

> it's just not possible for us 
> to know what subprocess faults are critical, and which are handled by a 
> cleverly written service.  Thus, we assume all faults are critical.
> 
> (Remember, many libraries fork new processes.  So not all services even 
> know they're creating subprocesses.)

Right, and having nwamd exec ifconfig under a separate contract seems
like a reasonable thing to do.

Thanks,
-Seb



Reply via email to