Your message dated Fri, 01 Aug 2014 07:03:49 +0000
with message-id <[email protected]>
and subject line Bug#627574: fixed in runit 2.1.1-8
has caused the Debian Bug report #627574,
regarding sv.8: "sv exit" does not send a TERM signal to the log service
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
627574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627574
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: runit
Version: 2.1.1-6.2
Severity: minor
Tags: patch

Hi,

Since runit 0.7.2, if I understand correctly then "sv exit" does not
send SIGTERM to the log service but just closes the latter's standard
input.  You can see an example of the difference with the current
version (1:1.7.5.1-1) of the git-daemon-run package (bug#627314):

        # sv stat /etc/sv/git-daemon/log
        run: /etc/sv/git-daemon/log: (pid 3462) 23s
        $ nc localhost git;     # opening a connection in another terminal
        # sv exit /etc/sv/git-daemon/log
        # sv stat /etc/sv/git-daemon/log
        run: /etc/sv/git-daemon/log: (pid 3462) 96s, want down
        # sv down /etc/sv/git-daemon/log
        # sv stat /etc/sv/git-daemon/log
        fail: /etc/sv/git-daemon/log: runsv not running

Anyway, how about this patch?  Text taken from runsv.8.
---
 runit-2.1.1/man/sv.8 |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/runit-2.1.1/man/sv.8 b/runit-2.1.1/man/sv.8
index 9bc005a..7b09602 100644
--- a/runit-2.1.1/man/sv.8
+++ b/runit-2.1.1/man/sv.8
@@ -75,8 +75,9 @@ Do not restart the service.
 If the service is down, and no log service exists,
 .BR runsv (8)
 exits.
-If the service is down and a log service exists, send the TERM signal to the
-log service.
+If the service is down and a log service exists,
+.BR runsv (8)
+closes the standard input of the log service and waits for it to terminate.
 If the log service is down,
 .BR runsv (8)
 exits.
-- 
1.7.5.1




--- End Message ---
--- Begin Message ---
Source: runit
Source-Version: 2.1.1-8

We believe that the bug you reported is fixed in the latest version of
runit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <[email protected]> (supplier of updated runit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 01 Aug 2014 06:19:57 +0000
Source: runit
Binary: runit
Architecture: source amd64
Version: 2.1.1-8
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[email protected]>
Changed-By: Gerrit Pape <[email protected]>
Description:
 runit      - system-wide service supervision
Closes: 627574 754849
Changes:
 runit (2.1.1-8) unstable; urgency=low
 .
   * debian/diff/0005-man-sv.8-sv-exit-does-not-send-a-TERM-...diff:
     new: man/sv.8: "sv exit" does not send a TERM signal to the log
     service (thx Jonathan Nieder, closes: #627574).
   * debian/diff/0006-utmpset.c-mixes-int32_t-and-time_t.diff: new:
     don't pass int32_t to time() (thx Lorenzo Beretta, closes:
     #754849).
   * debian/rules: no longer build with dietlibc by default, support
     DEB_BUILD_OPTIONS=diet; get *FLAGS through dpkg-buildflags.
   * debian/control: remove Build-Depends:.
   * debian/diff/0007-src-Makefile-don-t-use-static-to-link-...diff:
     new: src/Makefile: don't use -static to link runit, runit-init on
     Debian.
   * debian/examples/start-stop-daemon.runit: updates from Andras
     Korn.
   * debian/control: Standards-Version: 3.9.5.0.
Checksums-Sha1:
 9f268cfcc496ab1dcc7876f433355b657ca9827e 961 runit_2.1.1-8.dsc
 3b763518192f16edc0cd191c5a7bd4b1b849488f 21790 runit_2.1.1-8.diff.gz
 984266711bdf6d7beed4c470adf6bc589b785910 115588 runit_2.1.1-8_amd64.deb
Checksums-Sha256:
 ab785c0742001a5db4e23a5c415c99431a80d05fe353da512190db51e460cc32 961 
runit_2.1.1-8.dsc
 352a8e037661471719ca22dc30bc18c57d717c4746933252860b23e378703e50 21790 
runit_2.1.1-8.diff.gz
 9cb55bea840cf8767399ff437c7dfc4b6a6f7a4244da1dad355cecd5c4b9135a 115588 
runit_2.1.1-8_amd64.deb
Files:
 97815b88dc13907b0d4cff660f3ea12a 115588 admin optional runit_2.1.1-8_amd64.deb
 1bcc0a80ce27ec9a81c3cbb903092e49 961 admin optional runit_2.1.1-8.dsc
 7a07f280946d18fb8b38682c4cbe5665 21790 admin optional runit_2.1.1-8.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlPbN8UACgkQGJoyQbxwpv9gngCfXj4Xrcefem/0dyUbBg9jayWu
LJEAn0X6aERtig+W5EYb5mR0cZQNQWEa
=ZiLr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to