[Pkg-mpd-maintainers] Bug#887834: Bug#887834: Bug#887834: mpd installation fails, cannot open /var/lib/mpd/tag_cache, /run/mpd/pid

Ryan Kavanagh rak at debian.org
Fri Nov 5 12:57:26 GMT 2021


Hi Florian,

On Fri, Nov 05, 2021 at 05:55:52AM +0100, Florian Schlichting wrote:
> please, for now, delete or comment out the pid_file line

Right, I saw in some other bug report that it was no longer needed or
was a legacy configuration item. In that case, it should be dropped from
the default /etc/mpd.conf shipped in the package:

rak at zeta:/tmp$ ar p mpd_0.23.3-1_amd64.deb data.tar.xz | tar JOx ./etc/mpd.conf | grep pid_file
pid_file                        "/run/mpd/pid"

> The tag_cache exception is non-fatal. The problem here is the Assertion
> failure, which is #998310 and fixed in mpd 0.23.3-2

I can confirm that 0.23.3-2 fixes this bug and that I can run mpd with
the minimal mpd.conf, assuming that I delete the pid_file line. (With
the pid_file line, it runs into the issue you described in the rest of
your email:

Nov 05 08:45:25 zeta mpd[510628]: sndfile: libsndfile-1.0.31
Nov 05 08:45:25 zeta mpd[510628]: hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled
Nov 05 08:45:25 zeta mpd[510628]: adplug: adplug 2.3.3
Nov 05 08:45:25 zeta mpd[510628]: exception: Failed to open '/var/lib/mpd/tag_cache': No such file or directory
Nov 05 08:45:25 zeta mpd[510628]: curl: version 7.74.0
Nov 05 08:45:25 zeta mpd[510628]: curl: with GnuTLS/3.7.2
Nov 05 08:45:25 zeta mpd[510628]: exception: Failed to create pid file "/run/mpd/pid": Permission denied
Nov 05 08:45:25 zeta systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Nov 05 08:45:25 zeta systemd[1]: mpd.service: Failed with result 'exit-code'.
Nov 05 08:45:25 zeta systemd[1]: Failed to start Music Player Daemon.

Best,
Ryan

-- 
|)|/  Ryan Kavanagh  | 4E46 9519 ED67 7734 268F
|\|\  https://rak.ac | BD95 8F7B F8FC 4A11 C97A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mpd-maintainers/attachments/20211105/2beff747/attachment.sig>


More information about the Pkg-mpd-maintainers mailing list