Designing a new init: low level communication

martin f krafft madduck at debian.org
Tue Aug 30 10:31:09 UTC 2005


also sprach Erich Schubert <erich.schubert at gmail.com> [2005.08.30.1224 +0200]:
> > What does the daemon read from init in monitor mode?
> 
> E.g. the output and stderr of other programs?

Yeah, each programme that is to be started.

> But we don't really need frominit, do we - we can just use stdin maybe?

Probably.

> I really do not want this stuff as plugins. Take the unix approach and
> make it separate processes strung together my sockets or pipes.

Ok.

> What do you mean by "LSB output"?

The ...                [  OK  ]
output.

> And how is $userapplication-that-needs-to-start-a-service going to
> acces that? It's not like init is using that fifo to talk to
> itself.

Lol. :)
You are right.

> ---
> #!/bin/sh
> [ -x /usr/sbin/postgrey ] && need daemon/postgrey
> exec /usr/lib/postfix/master
> ---
> Sounds like a reasonable way to request postgrey to be up, doesn't it?

I don't think so. This requires the postfix script to know about
postgrey, when in fact it should be the other way around.

Apart, postgrey does not need postfix installed locally, it may well
use the instance on another machine.

-- 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
remember, half the people you know are below average.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20050830/782ba656/attachment.pgp


More information about the initscripts-ng-devel mailing list