[Trac #803] Graceful degradation for missing or broken runtime deps

Zarro Boogs per Child bugtracker at laptop.org
Sun Feb 18 00:49:40 EST 2007


#803: Graceful degradation for missing or broken runtime deps
---------------------+------------------------------------------------------
 Reporter:  krstic   |        Owner:  marco
     Type:  defect   |       Status:  new  
 Priority:  blocker  |    Milestone:  CTest
Component:  sugar    |   Resolution:       
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by jpritikin):

 Replying to [ticket:803 krstic]:

 At least part of the solution is process supervision, meaning that daemons
 should not detach from their parent process. This is what runit [1] does
 and also what upstart [2] does. (Of course runit is a lot more minimal
 than upstart.) The problem with daemons detaching is that eventually you
 have to search, via /proc or whatever, to determine whether such a daemon
 is running. If you don't detach then you never need to search. The kernel
 notifies you via wait/waitpid. So supervision is generally more optimal
 than searching the process table.

 [1] http://smarden.org/runit/
 [2] http://upstart.ubuntu.com/

-- 
Ticket URL: <http://dev.laptop.org/ticket/803#comment:1>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list