Your message dated Thu, 20 Aug 2026 16:31:34 +0100
with message-id <[email protected]>
and subject line Re: Removing patch tag
has caused the Debian Bug report #1040364,
regarding orphan-sysvinit-scripts: add triggers to restart daemons
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.)


-- 
1040364: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040364
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: orphan-sysvinit-scripts
Version: 0.14
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

please consider adding triggers for restarting daemons when the executables
change (usually at package upgrade).

The following patch just mentions rsyslogd (newly orphaned script in bookworm),
but it should be easy to extend to other daemons handled by o-s-s.

Best regards,
        g.b.

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
diff -NrwbBu 
orphan-sysvinit-scripts-0.14.orig/debian/orphan-sysvinit-scripts.triggers 
orphan-sysvinit-scripts-0.14/debian/orphan-sysvinit-scripts.triggers
--- orphan-sysvinit-scripts-0.14.orig/debian/orphan-sysvinit-scripts.triggers   
2023-02-24 11:01:40.000000000 +0100
+++ orphan-sysvinit-scripts-0.14/debian/orphan-sysvinit-scripts.triggers        
2023-07-04 18:42:08.045446810 +0200
@@ -9,3 +9,4 @@
 interest-noawait /lib/systemd/system/pdns.service
 interest-noawait /lib/systemd/system/rsyslog.service
 interest-noawait /lib/systemd/system/tomcat9.service
+interest-noawait /usr/sbin/rsyslogd
diff -NrwbBu orphan-sysvinit-scripts-0.14.orig/debian/postinst 
orphan-sysvinit-scripts-0.14/debian/postinst
--- orphan-sysvinit-scripts-0.14.orig/debian/postinst   2023-02-24 
11:01:40.000000000 +0100
+++ orphan-sysvinit-scripts-0.14/debian/postinst        2023-07-04 
21:11:55.055908922 +0200
@@ -5,6 +5,7 @@
 case "$1" in
     configure|triggered)
        /usr/lib/orphan-sysvinit-scripts/update_init_d.sh
+       /usr/lib/orphan-sysvinit-scripts/invoke_init_d.sh "$@"
 
        ;;
 esac
diff -NrwbBu orphan-sysvinit-scripts-0.14.orig/lib/invoke_init_d.sh 
orphan-sysvinit-scripts-0.14/lib/invoke_init_d.sh
--- orphan-sysvinit-scripts-0.14.orig/lib/invoke_init_d.sh      1970-01-01 
01:00:00.000000000 +0100
+++ orphan-sysvinit-scripts-0.14/lib/invoke_init_d.sh   2023-07-04 
18:58:43.344947505 +0200
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ $# -gt 1 ] && [ "$1" = triggered ]; then
+    shift
+    for t in $*; do
+       case $t in
+           /usr/sbin/rsyslogd) invoke-rc.d rsyslog try-restart ;;
+       esac
+    done
+fi
+
+exit 0

--- End Message ---
--- Begin Message ---
Hi,

On 18/08/2026 16:38, [email protected] wrote:
On Tue, Aug 18, 2026 at 03:25:36PM +0100, Matthew Vernon wrote:
control: tags -1 - patch

Hi,

It's not clear what the correct answer here is; but I think the supplied
patch is likely not the way to go, so I'm removing the patch tag.


Bookworm has come and gone.  We got used to restarting rsyslogd manually
after upgrades.  Let's live with that also in Trixie.

Please, close the bug.

OK, doing so. Sorry we didn't get a happier outcome.

Regards,

Matthew

--- End Message ---

Reply via email to