Package: needrestart
Version: 3.8-1
Severity: wishlist
Tags: patch upstream
X-Debbugs-Cc: aferra...@debian.org

Dear Maintainer,

As reported in #1095222 & #1095223 those services shouldn't be restarted
automatically as the whole device then crashes. This is unfortunately tied to
how Qualcomm processors work and AFAIU cannot be fixed in software.

I have submitted a PR[1] upstream for adding those services, and would like it
to be backported to the current Debian package ASAP in order to fix the
aforementioned bugs.

Attached is a debdiff for creating the needed patch under debian/patches.

Thanks,
Arnaud

[1] https://github.com/liske/needrestart/pull/332


-- Package-specific info:
needrestart output:
Your outdated processes:
bwrap[5299]



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

Kernel: Linux 6.12.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii  dpkg                       1.22.14
ii  gettext-base               0.23.1-1
ii  libintl-perl               1.33-1
ii  libmodule-find-perl        0.16-2
ii  libproc-processtable-perl  0.636-1+b3
ii  libsort-naturally-perl     1.03-4
ii  libterm-readkey-perl       2.38-2+b4
ii  perl                       5.40.0-8
ii  xz-utils                   5.6.3-1+b1

Versions of packages needrestart recommends:
ii  libpam-systemd  257.2-3
ii  systemd         257.2-3

Versions of packages needrestart suggests:
ii  iucode-tool    2.3.1-3
ii  libnotify-bin  0.8.3-1+b2

-- no debconf information
diff -Nru needrestart-3.8/debian/changelog needrestart-3.8/debian/changelog
--- needrestart-3.8/debian/changelog    2024-12-23 11:40:14.000000000 +0100
+++ needrestart-3.8/debian/changelog    2025-02-14 12:12:44.000000000 +0100
@@ -1,3 +1,12 @@
+needrestart (3.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add default overrides for qrtr-ns and rmtfs.
+    Backports https://github.com/liske/needrestart/pull/332, fixing
+    #1095222 & #1095223 in the process.
+
+ -- Arnaud Ferraris <aferra...@debian.org>  Fri, 14 Feb 2025 12:12:44 +0100
+
 needrestart (3.8-1) unstable; urgency=medium
 
   * Acknowledge all NMUs, thanks for taking care to everyone!
diff -Nru needrestart-3.8/debian/patches/ignore-qrtr-rmtfs.diff 
needrestart-3.8/debian/patches/ignore-qrtr-rmtfs.diff
--- needrestart-3.8/debian/patches/ignore-qrtr-rmtfs.diff       1970-01-01 
01:00:00.000000000 +0100
+++ needrestart-3.8/debian/patches/ignore-qrtr-rmtfs.diff       2025-02-14 
12:10:55.000000000 +0100
@@ -0,0 +1,12 @@
+--- a/ex/needrestart.conf
++++ b/ex/needrestart.conf
+@@ -113,6 +113,9 @@
+     qr(^virtlogd) => 0,
+     qr(^virtlockd) => 0,
+     qr(^docker) => 0,
++    # see Debian bugs #1095222 & #1095223
++    qr(^qrtr-ns) => 0,
++    qr(^rmtfs) => 0,
+ 
+     # systemd stuff
+     # (see also Debian Bug#784238 & #784437)
diff -Nru needrestart-3.8/debian/patches/series 
needrestart-3.8/debian/patches/series
--- needrestart-3.8/debian/patches/series       2024-12-23 11:40:14.000000000 
+0100
+++ needrestart-3.8/debian/patches/series       2025-02-14 12:10:41.000000000 
+0100
@@ -3,3 +3,4 @@
 08-uninitialized-vars-arm.diff
 10-notify-send-timeout.diff
 core-fix-regression-of-false-positives-for-processes.patch
+ignore-qrtr-rmtfs.diff

Reply via email to