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

Thorsten Glaser t.glaser at tarent.de
Wed Jul 5 17:36:23 BST 2023


On Wed, 5 Jul 2023, g1pi at 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
>>                 update-rc.d rsyslog defaults >/dev/null
>>                 if [ -n "$2" ]; then
>>                         _dh_action=restart
>>                 else
>>                         _dh_action=start
>>                 fi
>>                 invoke-rc.d --skip-systemd-native rsyslog $_dh_action || exit 1
>>         fi
>> fi
>
>which used to restart the daemon on package upgrade in bullseye/sysvinit,
>disappeared from rsyslog.postinst in bookworm.  Therefore, no restart
>happens unless systemd is in control.

This is bad. Let’s ask the debhelper maintainers why this
is no longer present, as the absence breaks orphan-sysvinit-scripts.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************



More information about the Debian-init-diversity mailing list