Your message dated Sat, 13 Apr 2019 04:03:41 +0000
with message-id <[email protected]>
and subject line Bug#924688: fixed in runit 2.1.2-29
has caused the Debian Bug report #924688,
regarding runit: Supervise path not consistent with dh-runit
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.)


-- 
924688: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924688
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: runit
Version: 2.1.2-25helpers1
Severity: normal
Tags: patch

Hi,

I've just find out about #919296, so I realised that runit's update-service
(used in git-daemon maint scripts) is using a different path for supervise
directory.
In the attached patch i'm changing that path to be consistent with the one
used by dh-runit (both service and log).

But also I spot another difference:
a directory inside supervise created by dh-runit has mode 755 while the one
created by runsv (with update-service) has mode 700.
For example:
# ls -l /var/lib/supervise/ | grep elogind
drwx------ 2 root root 4096 Mar 15 19:11 elogind
drwx------ 2 root root 4096 Mar 15 19:11 elogind.log

# ls -l /var/lib/runit/supervise/ | grep getty-tty2
drwxr-xr-x 2 root root 4096 Mar 15 19:11 getty-tty2

With mode 755 both the pid file and the stat file are world readable..
Maybe mode 700 is safer?

Thanks,
Lorenzo


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.20.3-van (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages runit depends on:
ii  libc6           2.28-8
ii  runit-helper    2.8.9
ii  sysuser-helper  1.3.3

Versions of packages runit recommends:
ii  runit-init  2.1.2-25helpers1

runit suggests no packages.

-- Configuration Files:
/etc/runit/3 changed [not included]

-- no debconf information
>From 365ed42d2e6840cd531d534bb94c27d12f7ee39d Mon Sep 17 00:00:00 2001
From: Lorenzo Puliti <[email protected]>
Date: Thu, 14 Mar 2019 22:29:41 +0100
Subject: [PATCH] Change the supervise path in update-service

Change the supervise directory path of update-service
to be consistent with the path used in dh-runit.
---
 debian/contrib/update-service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/contrib/update-service b/debian/contrib/update-service
index 01d10da..7e72501 100644
--- a/debian/contrib/update-service
+++ b/debian/contrib/update-service
@@ -63,11 +63,11 @@ case "$opt" in
     if test "${svdir#/etc/}" != "$svdir"; then
       if test ! -h "$svdir"/supervise; then
         rm -rf "$svdir"/supervise
-        ln -s /var/lib/supervise/"$sv" "$svdir"/supervise
+        ln -s /var/lib/runit/supervise/"$sv" "$svdir"/supervise
       fi
       if test -d "$svdir"/log && test ! -h "$svdir"/log/supervise; then
         rm -rf "$svdir"/log/supervise
-        ln -s /var/lib/supervise/"$sv".log "$svdir"/log/supervise
+        ln -s /var/lib/runit/log/supervise/"$sv" "$svdir"/log/supervise
       fi
     fi
     ln -s "$svdir" "$servicedir"/"$sv"
-- 
2.20.1


--- End Message ---
--- Begin Message ---
Source: runit
Source-Version: 2.1.2-29

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.
Dmitry Bogatov <[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: SHA512

Format: 1.8
Date: Sat, 13 Apr 2019 03:34:59 +0000
Source: runit
Architecture: source
Version: 2.1.2-29
Distribution: experimental
Urgency: medium
Maintainer: Dmitry Bogatov <[email protected]>
Changed-By: Dmitry Bogatov <[email protected]>
Closes: 916973 924054 924056 924057 924058 924059 924688 924769 926777
Changes:
 runit (2.1.2-29) experimental; urgency=medium
 .
   * [2c5a162f] Apply patches to fix compiler warnings.
     Thanks to Jan <[email protected]>
     (Closes: #924054, #924056, #924057, #924058, #924059)
   * [a76ab7a7] Fix typo in bugnumber in previous changelog entry
   * [f2293d92] Move binaries from runit-init package (Closes: #926777)
   * [a1eed2c8] Make /etc/service point to `current' symlink.
     Thanks to Lorenzo Puliti <[email protected]> (Closes: #916973)
   * [cc656ec6] Bump standards version to 4.3.0
 .
 runit (2.1.2-28) experimental; urgency=medium
 .
   * Change the supervise directory path of update-service to be consistent
     with the path used in dh-runit. (Closes: #924688)
   * Stop init.d script in invoke-run(5) (Closes: #924769)
Checksums-Sha1:
 10c539fc8bdee10e68057a1415276e2af5c71273 2152 runit_2.1.2-29.dsc
 1ffaf83721b0461340876c79a20cdba6a62fe673 35636 runit_2.1.2-29.debian.tar.xz
 f15a23fea6085d1eaffe32c66cb75bdd4bfbdcc0 5348 runit_2.1.2-29_source.buildinfo
Checksums-Sha256:
 027dcae24a2c082d369eec2157186a613bbbad2bc39c23c26fa505931d4f4b53 2152 
runit_2.1.2-29.dsc
 167addfd279f7f498711830a10b8ebf6c2d99945f4e2b44004dc05dcc05a75a6 35636 
runit_2.1.2-29.debian.tar.xz
 aed20522269c0f973123feafd19eed01461a5ff242a858e31ab0487bedbcd9c3 5348 
runit_2.1.2-29_source.buildinfo
Files:
 1110d418e4238bd0ca6fd049759a10ef 2152 admin optional runit_2.1.2-29.dsc
 fc628cc0424e9e5f1fe815ca0d4f71f2 35636 admin optional 
runit_2.1.2-29.debian.tar.xz
 3d5fd12a4f3e87a76437019109df64ce 5348 admin optional 
runit_2.1.2-29_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEhnHVzDbtdH7ktKj4SBLY3qgmEeYFAlyxWhYTHGthY3Rpb25A
ZGViaWFuLm9yZwAKCRBIEtjeqCYR5gZxEACF4tXJY46+SQll1Fz/jZsXmWgTpksW
Py+jkmCW7VoCDNde/iVCw/2O5b/DeLWO5gKiEoiPYECLAbzln6Tne1FeQTFgnqQm
S856r2/I8uO8z458WOFq824RXjsljaAsjm30DHQ9PmsrZBUQixE+MCHKWqDiy45A
szvl2GSgwSLcTLu+oUKF75dNR2Jl0GZrLK1dWveyXHJInmM1dudfUYCFcw0bPZcP
0rAlffqCktwQB9NGJpLgFaXdjonulyaK6GLavrGb0XYQ2oKRUi5ck4f26PcnW8Ah
2W5i408GYoS7Yhk1WPWZ1U5dh/FmJu8fES+5ZZ14Dw0lAJ0Uq3K+Uxk8C8xl7kXl
xVUHD2SgvCvU/VanXw1Xk/+61KDsdIBNekjgRNESOSXoPajnaEp34kKKYIwDYkRQ
4k0cN6mYKPtEkwNQYGsnvDqNqbz9XUD5Krhw1H9nhcjixh23RyifrT3ooWcfufL/
Zovtx3OZ2s7WSpS+yxUejq0SdfYKIuFt//AUT9MPheBaJhFljjwkf/9bNOI/qaRu
YuIUhOLp6aGgVeEAoOeFPbRKHcM0s61CG/outpi/wQ2nrJsTa2h7Q2yPAR36SoNi
gjEuftM7+8O1GpYucfikc/NiAiiuSmD7J5DKRRGikh5cxKoE7fePto7cnGZ1C8CD
CugiJXG34vxBUQ==
=YS+8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to