tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pwait(1) added



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
 |On Tue, Mar 03, 2015 at 10:27:53PM +0100, Kamil Rytarowski wrote:
 |> Joerg asked in another mail for something non trivial for a basic process,
 |> something I would do in a high-level scripting language (Perl, Python).
 |
 |There is no existing facility to get all the necessary data.

Debian's dpkg/utils/start-stop-daemon.c is portable to multiple
operating systems, including FreeBSD and OpenBSD (don't tried that
though).  The Linux distribution CRUX just imported this one last
week.  Well, they first added the complete Debian dpkg package
(>40 MB) but now use only the .c file (~50 KB) after i posted the
~30 line patch necessary to detach the C file [1].  Whereas i'm
personally still impressed about the simplicity of the runit init
scheme [2] that (well i "knew" about it before but never used it
until) Void Linux started to use some months ago, this s-s-d seems
to be quite feature rich, including what pwait(1) seems to
provide.  I however vaguely recall a process monitoring thread
that Roy Marples ended with ~"and then there is OpenRC".

 [1] https://crux.nu/gitweb/?p=ports/core.git;a=tree;f=start-stop-daemon;hb=HEAD
 [2] http://smarden.org/runit/index.html

--steffen


Home | Main Index | Thread Index | Old Index