supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Mike Buland <mike@geekgene.com>
To: supervision@list.skarnet.org
Subject: Re: using runit as init
Date: Fri, 11 Jan 2008 07:30:09 -0700	[thread overview]
Message-ID: <200801110730.09851.mike@geekgene.com> (raw)
In-Reply-To: <200801110858.33026.list-supervision@augensalat.de>

yes, you're completely right.  I'm sorry.  I do overstate and come off as a 
jerk sometimes, most times, maybe...

I feel that your proposal is effectively hacking a good system for supervising 
some/most/all processes and losing all the cool extras that runit offers.  
Really, if what you want is supervising daemon processes, runit does it well, 
but the rc scripts are not compatible with that concept.  They all start 
programs that daemonize themselves, or *shudder* fork bash and use bash to 
daemonize them.

I really like runit, but I believe that there is no good option for allowing 
runit to supervise these daemons without writing runit specific (ok, 
daemontools could run most of them) scripts.  That, or maybe using the 
program group hack from daemontools (I beleive chpst can do the same thing, 
it's burried in the docs though).

The problem is the forking/daemonizing, it means that when those processes do 
that, you're no longer supervising them.  I'm willing to try and help with a 
good way of doing that, but I fear there is none, sometimes these systems 
just aren't compatible with one another.

Fortunately, I don't have one run script that's more than 4 or 5 lines, and 
most of that is whitespace :)

Sorry
--Mike

On Friday 11 January 2008 12:58:32 am Bernhard Graf wrote:
> Mike Buland wrote:
>
> It seems you simply refuse the actual point of the discussion I started:
>
> My goal is not to make runit like SysV init.
>
> My goal is to replace init by something that supervises daemon processes
> in the sense of daemontools.
>
> The discourse is about the way to that goal.
>
> And of course about shortcomings in runit / other init system / the
> daemontools concept as process 1 in general. This should be allowed
> without making someone feel defensive.



  reply	other threads:[~2008-01-11 14:30 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 20:51 Bernhard Graf
2008-01-04  0:22 ` Mike Buland
2008-01-05  0:06   ` Bernhard Graf
     [not found]   ` <12EC84FDD73F4BD8A78E7501EB19F1E2@home.internal>
2008-01-05  7:45     ` rehan khan
2008-01-05 23:17       ` Bernhard Graf
2008-01-08  7:11         ` Vincent Danen
2008-01-08 22:28           ` Bernhard Graf
2008-01-09  2:05             ` Vincent Danen
2008-01-09 23:06               ` Bernhard Graf
2008-01-09 23:34                 ` Mike Buland
2008-01-09 23:51                   ` Charlie Brady
2008-01-10  9:22                     ` Bernhard Graf
2008-01-10  9:20                   ` Bernhard Graf
2008-01-10 20:06                     ` Mike Buland
2008-01-11  7:58                       ` Bernhard Graf
2008-01-11 14:30                         ` Mike Buland [this message]
2008-01-12 10:18                           ` Bernhard Graf
2008-01-12 17:13                             ` supervising (Re: using runit as init) Charlie Brady
2008-01-12 17:32                               ` supervising mysql (Re: supervising (Re: using runit as init)) Charlie Brady
2008-01-13  4:40                             ` using runit as init Vincent Danen
2008-01-13 15:36                               ` Charlie Brady
2008-01-13 18:28                                 ` Mike Buland
2008-01-13 18:39                                   ` Charlie Brady
2008-01-13 18:49                                     ` Mike Buland
2008-01-14  3:55                                       ` Vincent Danen
2008-01-14 15:11                                         ` Charlie Brady
2008-01-14 15:21                                           ` Vincent Danen
     [not found]                                     ` <6A64B0D384404190ACB76E0A376CD148@home.internal>
2008-01-13 21:06                                       ` rehan khan
2008-01-14  3:53                                 ` Vincent Danen
     [not found]                             ` <CDFFB8AF013F4762AE02CF6A1BDCB27A@home.internal>
2008-01-13 10:35                               ` rehan khan
2008-01-14  3:50                                 ` Vincent Danen
2008-01-13 18:52                             ` Mike Buland
     [not found]                     ` <85040AD9CA634253A8FDB9F7DA6BD200@home.internal>
2008-01-10 22:08                       ` rehan khan
2008-01-11  1:28                         ` Charlie Brady
     [not found]                   ` <C1A5323F485E4A75B75ADB58B664E35E@home.internal>
2008-01-10 21:56                     ` rehan khan
2008-01-09 23:35                 ` KORN Andras
2008-01-10  8:39                   ` Bernhard Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801110730.09851.mike@geekgene.com \
    --to=mike@geekgene.com \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).