Hello,
I'd a look into this bug this evening and it looks like the problem was
related to
update-rc.d (provided by #DEBHELPER#) which is called after "invoke-rc.d
timidity stop" which stops the service.
It means systemd was not able to find the relevant service to stop at
this moment in time. Making this update just before does the trick.
The patch is in attachment.
Regards,
Charles-Antoine Couret
diff --git a/debian/timidity-daemon.postinst b/debian/timidity-daemon.postinst
index a3610f9..573bc09 100644
--- a/debian/timidity-daemon.postinst
+++ b/debian/timidity-daemon.postinst
@@ -55,10 +55,13 @@
# make sure we really stop, because packaging system doesn't
# understand what we're trying to do with migration to timidity-daemon
-[ -f "/etc/init.d/timidity" ] && if which invoke-rc.d >/dev/null 2>&1; then
- invoke-rc.d timidity stop
-else
- /etc/init.d/timidity stop
+if [ -f "/etc/init.d/timidity" ]; then
+ if [ which invoke-rc.d >/dev/null 2>&1 ] ; then
+ update-rc.d timidity defaults
+ invoke-rc.d timidity stop
+ else
+ /etc/init.d/timidity stop
+ fi
fi
#DEBHELPER#