On Wed, Aug 21, 2024 at 02:11:18AM +0200, Christoph Anton Mitterer wrote: > As soon as I use --no-start, there no longer is a prerm with the following > created: > #!/bin/sh > set -e > # Automatically added by dh_installsystemd/13.19 > if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system > ] ; then > deb-systemd-invoke stop 'prometheus-node-exporter-smartraid.service' > 'prometheus-node-exporter-smartraid.timer' >/dev/null || true > fi > # End automatically added section > > This in turn causes the the timer to not be stopped before the units are > being removed, > which in turn leads to a remnant of: > $ systemctl status prometheus-node-exporter-smartraid.timer > × prometheus-node-exporter-smartraid.timer > Loaded: not-found (Reason: Unit prometheus-node-exporter-smartraid.timer > not found.) > Active: failed (Result: resources) > Trigger: n/a
This has also been observed in src:spamassassin. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090826 Thanks noah