[Pkg-mpd-maintainers] Bug#760131: Bug#760131: mpd: dpkg doesn't restart MPD after upgrade (service is cut)
Florian Schlichting
fsfs at debian.org
Mon Sep 1 20:30:09 UTC 2014
tags 760131 +moreinfo
thanks
Hi,
> It seems dpkg doesn't restart MPD service after an update: the service
> get cut, binary get replaced??? but then service isn't started again,
> leading to the absence of MPD service once the upgrade is finished.
>
> Steps:
> - upgrade mpd
>
> Outcome:
> - no mor MPD service after the upgrade, as it gets stopped and never
> restarted
>
> Expected outcome:
> - package post-install script should start mpd
it does, actually, have a look at the end of
/var/lib/dpkg/info/mpd.postinst
I assume you're running mpd as a system service (and not from your user
session), and your init system is systemd?
Have you checked mpd is actually configured to start on boot ('systemctl
status mpd'), are there any errors in the mpd log?
Did this occur with the upgrade to 0.18.12-1+b1, and which version were
you upgrading from?
mpd transitioned away from the START_MPD setting in /etc/default/mpd a
few minor releases ago, and in cases where this was not set to true,
disabled the system service so as to have the same effect for
system-V-init boots. systemd boots never took that setting into account,
so if you changed START_MPD to false, then switched to systemd, and then
enabled mpd.service, you may find mpd.service was disabled...
> This behavior is also detected on testing and, if I recall correctly, on
> current stable (though I'm not 100% sure, long time I didn't get stable
> on my wrk).
the testing version is identical, but the version in wheezy is 0.16.7-2,
which is quite old and has a very different postinst - which also
contains a "(re-)start mpd command"
Does this also happen when you reinstall mpd (e.g. 'sudo apt-get install
--reinstall mpd')?
Please try to pin this down a little more, all of it works for me!
Florian
More information about the Pkg-mpd-maintainers
mailing list