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 > # 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. Rsyslog's maintainer has dropped support for sysvinit and I'm afraid he is not going to reconsider any time soon (see #1037039). Since o-s-s already handles start of the daemon and log rotation, it might the right package to also handle upgrades, at least for selected daemons. Best regards, g.b.