Subject: bug#44820: MPD fails after respawning too often

From: Simon Streit <[email-masked]>
Date: Thu, 03 Dec 2020 22:00:49 +0100

Ludovic Courtès writes:

> Hi Martin,
>
> Martin Becze <[email-masked]> skribis:
>
>> I also ran into this problem. Here is the relevnat part of
>> /var/run/mpd/<mpd-user>/log
>>
>>> exception: Failed to create pid file "/var/run/mpd/<mpd-user>/pid": Permission denied
>>
>> A quick dirty fix is just to chown the /var/run/mpd folder so that mpd
>> can create its pid file.
>
> So was the ownership of /var/run/mpd/$USER wrong?

`/var/run/mpd' and subsequent user folders belong to root:root.  Only
`/var/run/mpd/mpd' belong to mpd:mpd.  They where recreated belonging to
root:root after deleting them.

> Thanks,
> Ludo’.