Designing a new init: low level communication

Erich Schubert erich.schubert at gmail.com
Mon Aug 29 15:04:43 UTC 2005


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.

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



More information about the initscripts-ng-devel mailing list