From: Erik Wright <erik@akoha.com>
To: Gerrit Pape <pape@smarden.org>
Cc: supervision@list.skarnet.org
Subject: Re: Bug for sv status in lsb mode
Date: Thu, 3 Jun 2010 10:12:15 -0400 [thread overview]
Message-ID: <A411B859-57EB-446C-887F-65D078393F4B@akoha.com> (raw)
In-Reply-To: <loom.20100603T110102-523@post.gmane.org>
On 3-Jun-10, at 5:04 AM, Gerrit Pape wrote:
> Erik Wright <erik <at> akoha.com> writes:
>> This is a follow-up to a thread from last summer. Mathieu Poumeyrol
>> reported
>> that 'sv status' returned 0 even when the service was down. Gerrit
>> replied that
>> this was expected behaviour when sv is called with a basename of
>> 'sv'.
>>
>> Unfortunately, I'm seeing this behaviour even when calling sv with
>> another
>> basename. To illustrate, here is a shell session snippet on Ubuntu:
>>
>> --------
>> root <at> domU-12-31-39-0C-1D-B1:~# ls -l /etc/init.d/celeryd
>> lrwxrwxrwx 1 root root 11 2010-05-14 18:42 /etc/init.d/celeryd -> /
>> usr/bin/sv
>> root <at> domU-12-31-39-0C-1D-B1:~# /etc/init.d/celeryd status;
>> echo $?
>> down: celeryd: 1576s, normally up; run: log: (pid 711) 1043375s
>> 0
>> root <at> domU-12-31-39-0C-1D-B1:~# dpkg -s runit
>> Package: runit
>> ...
>> Version: 2.0.0-1ubuntu3.1
>> root <at> domU-12-31-39-0C-1D-B1:~# cat /etc/issue
>> Ubuntu 9.10 \n \l
>> --------
>>
>> Any ideas what might be causing this?
>
> Hi, there was a bug discovered in this very thread, which has been
> fixed
> in runit version 2.1.0:
>
> * sv.c: fix exit code of status command in lsb mode (thx Mathieu
> Poumeyrol)
>
> If you upgrade to the latest version, it should work fine.
>
> Regards, Gerrit.
>
Great news, Gerrit. Thanks!
Is there a public source repository or change-log where these commit
messages / release notes are available?
-Erik
prev parent reply other threads:[~2010-06-03 14:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 8:00 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
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 [this message]
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=A411B859-57EB-446C-887F-65D078393F4B@akoha.com \
--to=erik@akoha.com \
--cc=pape@smarden.org \
--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).