Designing a new init: low level communication

a-aa a-aa at hollowtube.mine.nu
Mon Aug 29 16:34:31 UTC 2005


Erich Schubert wrote:

>Hi,
>  
>
>>And say you want to monitor all output from all daemons?  I like a
>>event/hook based system where plugins/programs can hook into events much
>>better than every service having to specifically say "you use this".
>>    
>>
>
>write "montior stdout,stderr" to the "toinit" fd, then read on "frominit"?
>sure, we need a bit of code in init for that, but this should be easy
>to make ifdef'able.
>And still a lot less code in init.
>Maybe we can use "monitor stdout,stderr to socket foo" instead, too.
>  
>
I suppose we could allow a program/plugin/daemon to connect and monitor
events either way really, such as service started/service status
changed/program output.

>best regards,
>Erich Schubert
>--
>    erich@(mucl.de|debian.org)      --      GPG Key ID: 4B3A135C    (o_
>  To understand recursion you first need to understand recursion.   //\
>  Wo befreundete Wege zusammenlaufen, da sieht die ganze Welt für   V_/_
>        eine Stunde wie eine Heimat aus. --- Herrmann Hesse
>
>_______________________________________________
>initscripts-ng-devel mailing list
>initscripts-ng-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel
>
>  
>




More information about the initscripts-ng-devel mailing list