Your message dated Fri, 09 Apr 2021 09:50:59 +0000
with message-id <[email protected]>
and subject line Bug#972685: fixed in needrestart 3.5-3
has caused the Debian Bug report #972685,
regarding needrestart: Please add support for 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.)


-- 
972685: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: needrestart
Version: 3.5-1
Severity: normal
Tags: patch

Dear maintainer,

Please consider the attached patch that adds support for runit to needrestart.
Runit is a very lightweight init scheme with service supervision capability;
for more details see http://smarden.org/runit/

Regards,
Lorenzo Puliti



-- Package-specific info:
needrestart output:
Your outdated processes:
kactivitymanage[23935], kdeconnectd[22453], kded5[6680], kdeinit5[6696], 
kglobalaccel5[23942], klauncher[6697], konqueror[6620], kuiserver[22496], 
lxqt-notificati[5553], lxqt-panel[5557], lxqt-policykit-[5558], 
lxqt-powermanag[8009], lxqt-runner[5559], lxqt-session[5460], openbox[5530], 
qjackctl[8006], qterminal[8833, 5222], QtWebEngineProc[9293, 6647], 
superkaramba[8014]



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

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages needrestart depends on:
ii  binutils                   2.35.1-2
ii  dpkg                       1.20.5
ii  gettext-base               0.19.8.1-10
ii  libintl-perl               1.26-2
ii  libmodule-find-perl        0.15-1
ii  libmodule-scandeps-perl    1.29-1
ii  libproc-processtable-perl  0.59-2
ii  libsort-naturally-perl     1.03-2
ii  libterm-readkey-perl       2.38-1+b1
ii  perl                       5.30.3-4
ii  xz-utils                   5.2.4-1+b1

Versions of packages needrestart recommends:
ii  libpam-elogind-compat [libpam-systemd]  1.2

Versions of packages needrestart suggests:
ii  iucode-tool                          2.3.1-1
pn  needrestart-session | libnotify-bin  <none>

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/sbin/needrestart (from needrestart package)
Description: Add support for runit init system
 When runit is used as init system, a native runit service exists and is 
enabled,
 use sv instead of invoke-rc.d. If no native service exists (or is disabled) 
fallback
 on invoke-rc.d
Author: Lorenzo Puliti <[email protected]>
Last-Update: 2020-10-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/needrestart
+++ b/needrestart
@@ -46,6 +46,7 @@
 
 my $LOGPREF = '[main]';
 my $is_systemd = -d q(/run/systemd/system);
+my $is_runit = -e q(/run/runit.stopit);
 my $is_tty = (-t *STDERR || -t *STDOUT || -t *STDIN);
 my $is_vm;
 my $is_container;
@@ -386,6 +387,14 @@
                (qw(systemctl restart), qq($rc.service));
            }
        }
+       elsif($is_runit && -d qq(/etc/sv/$rc)) {
+           if(-e qq(/etc/service/$rc)) {
+               (qw(sv restart), $rc);
+           }
+           else {
+               (q(invoke-rc.d), $rc, q(restart));
+           }
+       }
        else {
            (q(invoke-rc.d), $rc, q(restart));
        }

--- End Message ---
--- Begin Message ---
Source: needrestart
Source-Version: 3.5-3
Done: Patrick Matthäi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
needrestart, 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.
Patrick Matthäi <[email protected]> (supplier of updated needrestart 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: SHA256

Format: 1.8
Date: Fri, 09 Apr 2021 11:17:52 +0200
Source: needrestart
Binary: needrestart
Architecture: source all
Version: 3.5-3
Distribution: unstable
Urgency: medium
Maintainer: Patrick Matthäi <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Description:
 needrestart - check which daemons need to be restarted after library upgrades
Closes: 972685
Changes:
 needrestart (3.5-3) unstable; urgency=medium
 .
   * debian/watch: Adjust github URL.
   * Add stable upstream patch 02-ruby-relative-path to fix detection for ruby
     script started from relative paths.
   * Add stable upstream patch 03-fix-wrong-default-comment to fix comment for
     default value of skip_mapfiles.
   * Add stable upstream patch 04-verbose-and-verbosity-confusion to fix
     verbose/verbosity confusion in needrestart.conf.
   * Add stable upstream patch 05-ignore-nvidia-memfd to ignore memfd used by
     nvidia binary drivers.
   * Add stable upstream patch 06-dont-restart-bluetooth to ignore restarting
     bluetooth by default.
   * Add stable upstream patch 07-runit to add support for runit.
     Closes: #972685
Checksums-Sha1:
 625d57dddf93413f71513e75cdeb47bb5acdedff 1768 needrestart_3.5-3.dsc
 d6b82e9130ded3b40d7f4ca95d7c8237785ea907 67824 needrestart_3.5.orig.tar.gz
 9d58009c2990e1f538d6921856626ffd233d2459 10792 needrestart_3.5-3.debian.tar.xz
 e0b3e4f549647139fd17e533197c413f0371515e 62232 needrestart_3.5-3_all.deb
 5111a275146851f68bb16536b772c315c929c361 6532 needrestart_3.5-3_amd64.buildinfo
Checksums-Sha256:
 18e9f1cf2186eca1f50147bb23e182bfe0db54f3ea4bb63813557fffa16ede1f 1768 
needrestart_3.5-3.dsc
 e9453efde9a0ebaefa5cb3af241382203d14abcc7091bee1249b60039348597e 67824 
needrestart_3.5.orig.tar.gz
 1c6cd2568d0c206bf16ff8dc283e66755ff10f353177635b1af83ce8aac4929f 10792 
needrestart_3.5-3.debian.tar.xz
 6c95fcd4478aaf2e9c196d4f4eefb27d207479afd982f3e74ba9dfd33a286266 62232 
needrestart_3.5-3_all.deb
 6fecfc791aaed9556d623d761716dd8113709e46d0d02a6ee497978102796663 6532 
needrestart_3.5-3_amd64.buildinfo
Files:
 e39d5abddba3107d1762654e2f264227 1768 admin optional needrestart_3.5-3.dsc
 1e5ce6743aa6aaf2ca6c7ab37e32f524 67824 admin optional 
needrestart_3.5.orig.tar.gz
 2d34d318030e149f8dce0d69de65749b 10792 admin optional 
needrestart_3.5-3.debian.tar.xz
 b1741449f93a9885aea6782443ff321b 62232 admin optional needrestart_3.5-3_all.deb
 f898f2edb19addba8038029d80bbde42 6532 admin optional 
needrestart_3.5-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEWKA9xYJCWk3IuQ4TEtmwSpDL2OQFAmBwHogACgkQEtmwSpDL
2OSLZg/5Af+EZPDu+48GSpWDrNF3Rq+G+PumV7RIAxUa+KFrA7x5+z1GqO5GaZnA
fA8Z3CepHc2bLMNvi/zZmVTdBeY1kk6YIIr7F4jkoagzJWcNlCsajEr0ORPFdtDj
qtI+hCgaFjrel+DPyCVp0XB1dSBCUSjHlJFB83lvezyLq3WeOlOXsCcezGU2wj7k
sNP32CnkDSwcfon9jhQxrk3sfGvha7G45tmXiZRFWhJ9w18LmIrEBMjFdzYZieUD
Hl+YNfAMZpMu/Kb5lVPsk+UM0tSVVufUWPFBcDPTVNOcNLVlpVdzWXA/mqslW1fN
2XSJ62jp6nSioTQ/RRPXHmbAgMsjSRIAPcLfDUVdhQXBVuaf8WVfOF0FcxN6tgJn
EswGdE48lPu2+dolvkibri8m6W7C8LvGXvMylb66VyKcUxNe/UajDbvPw6NoXrWk
SL19tqa/zoNHDiYCWPxr4iknv/5yir/ktw7gBainQoVdc0mhJ9xUlsrFzLrWG/ho
sN8K2QrYB/2fsxsHEKp94CmP1XI6+gwQ+IgWdArzGqsUniI//y9/6UagIZCfPY+H
ca6RSFqE+gpkNAqqCSWhSFseABGaT9qEn52emondbXPoUPI3v1AvZPR9+7CJmg1V
/9LY0ARRPUQy+Wf0K8VNkAqWG337EF81LiDUYzpjlluUsQSGF4g=
=PwQW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to