Re: mpd/systemd problem
On Wed, 17 Dec 2014, Henrique de Moraes Holschuh wrote:
> On Tue, 16 Dec 2014, Don Armstrong wrote:
> > It's not clear to me why service mpd stop; isn't enough to stop this
> > particular one, but the following will stop mpd:
> Because our support for systemd socket activation in invoke-rc.d is broken
> (as in invoke-rc.d stop _does not_ stop socket-activated units, just the
> main unit). Every package that has socket activation is affected.
Sorry, my answer was misleading and likely incorrect for this situation.
"service" _is_ quite capable of doing the right thing, so if it doesn't stop
mpd, the issue is in the mpd package.
OTOH, "invoke-rc.d" really is buggy in that regard, so if the issue shows up
during package updates/removals, it is invoke-rc.d's fault for not stopping
the socket service.
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot