Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-07 Thread Lorenzo
On Wed, 5 Jul 2023 21:56:14 +0200 (CEST) Thorsten Glaser wrote: > On Wed, 5 Jul 2023, g...@libero.it wrote: > > >But [o-s-s] should also invoke-rc.d try-restart, for > >perfection. > > I don’t think so. I think the postinst of the services in question > restart the service, and that ought to

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-05 Thread Thorsten Glaser
On Wed, 5 Jul 2023, g...@libero.it wrote: >But [o-s-s] should also invoke-rc.d try-restart, for perfection. I don’t think so. I think the postinst of the services in question restart the service, and that ought to “just work”, independent of the init system in use, as long as an

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-05 Thread g1pi
On Wed, Jul 05, 2023 at 06:36:23PM +0200, Thorsten Glaser wrote: > On Wed, 5 Jul 2023, g...@libero.it wrote: > > This is bad. Let’s ask the debhelper maintainers why this > is no longer present, as the absence breaks orphan-sysvinit-scripts. > I'm not sure that breaks o-s-s. o-s-s has a

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-05 Thread Thorsten Glaser
On Wed, 5 Jul 2023, g...@libero.it wrote: >The section > >> # Automatically added by dh_installinit/13.3.4 >> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = >> "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then >> if [ -x "/etc/init.d/rsyslog" ]; then >>

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-05 Thread g1pi
On Wed, Jul 05, 2023 at 04:39:33PM +0100, Matthew Vernon wrote: > > I'd normally expect a package postinst to > invoke-rc.d or similar. > Me too. But Bookworm disagrees. Release Notes don't even mention that rsyslogd does not start at boot anymore unless you use systemd. The section > #

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-05 Thread Matthew Vernon
Hi, On 04/07/2023 22:38, g1 wrote: please consider adding triggers for restarting daemons when the executables change (usually at package upgrade). Is this always desireable? I'd normally expect a package postinst to invoke-rc.d or similar. Regards, Matthew

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-04 Thread g1pi
On Wed, Jul 05, 2023 at 12:07:09AM +0200, Thorsten Glaser wrote: > > [...] > > for t in "$@"; do > > But I don’t think the trigger on the binary is necessary, > the trigger on the systemd thing would already catch it. > Right. I forgot to remove the binary from the triggers list after

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-04 Thread Thorsten Glaser
On Tue, 4 Jul 2023, g1 wrote: >The following patch just mentions rsyslogd (newly orphaned script in bookworm), for t in "$@"; do But I don’t think the trigger on the binary is necessary, the trigger on the systemd thing would already catch it. bye, //mirabilos -- Infrastrukturexperte

Bug#1040364: orphan-sysvinit-scripts: add triggers to restart daemons

2023-07-04 Thread g1
Source: orphan-sysvinit-scripts Version: 0.14 Severity: wishlist Tags: patch X-Debbugs-Cc: g...@libero.it 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