supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
To: Earl Chew <earl_chew@agilent.com>
Cc: supervision@list.skarnet.org
Subject: Re: sv sometimes won't issue down request (specifically, after 'sv once xxx')
Date: Fri, 24 Jul 2009 17:01:52 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0907241658590.18966@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <4A6A1BCF.9070202@agilent.com>


On Fri, 24 Jul 2009, Earl Chew wrote:

> Charlie Brady wrote:
>>  Yes it does seem buggy optimisation.
>>
>>  Note that if you simply removed that check, you would change not only the
>>  'once' behaviour of sv/runsv, but also the behaviour when multiple 'sv d
>>  xxx' calls are made on a running service. If the optimisation is not
>>  re-implemented in runsv, then there will be multiple signals and/or custom
>>  control scripts run where previously there was only one.
>
> Are you saying it is prudent to move the optimisation in runsv itself?

No, I am saying that it would be imprudent to remove the optimisation in 
sv without considering this issue.

I'd defer to Gerrit on a good solution to the problem you've found.

How often do you want to run something once (via 'sv once xxx') and then 
want to terminate it before it has completed?



  reply	other threads:[~2009-07-24 21:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13  8:00 Bug for sv status in lsb mode Mathieu Poumeyrol
2009-07-13 13:42 ` Charlie Brady
2009-07-13 14:13   ` Mathieu Poumeyrol
2009-07-13 14:18     ` Mathieu Poumeyrol
2009-07-13 14:20       ` Charlie Brady
2009-07-17  9:08       ` Gerrit Pape
2009-07-17 10:02         ` Mathieu Poumeyrol
2009-07-17 11:08           ` Gerrit Pape
2009-07-19 14:52         ` sv sometimes won't issue down request Earl Chew
2009-07-19 17:14           ` svwaitup races with sv Earl Chew
2009-07-24 20:31             ` Charlie Brady
2009-07-24 20:35               ` Earl Chew
2009-07-24 20:18           ` sv sometimes won't issue down request (specifically, after 'sv once xxx') Charlie Brady
2009-07-24 20:38             ` Earl Chew
2009-07-24 21:01               ` Charlie Brady [this message]
2009-07-25 19:49                 ` Joan Picanyol i Puig
2009-07-27  9:09           ` sv sometimes won't issue down request Gerrit Pape
2009-07-27 17:39             ` Earl Chew
2010-05-31 19:54         ` Bug for sv status in lsb mode Erik Wright
2010-06-03  9:04           ` Gerrit Pape
2010-06-03 14:12             ` Erik Wright

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=Pine.LNX.4.64.0907241658590.18966@e-smith.charlieb.ott.istop.com \
    --to=charlieb-supervision@budge.apana.org.au \
    --cc=earl_chew@agilent.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).