since mpd only creates one log and one pid file, it should not be given its own subdir. so the default values should be: log_file "/var/log/mpd.log" pid_file "/var/run/mpd.pid" this has the added advantage of the default mpd init.d script working out of the box and not needing immediate tweaking
the problem here is that mpd drops to its own user _before_ creating the pid file, so this results in a permission problem
so fix it. multiple solutions: - fix mpd to open the file before dropping perms - use ssd to manage the pid - use `checkpath` to create the file with the right perms
+ 06 Sep 2010; <angelos@gentoo.org> +mpd-0.15.12-r1.ebuild, + +files/mpd.conf.patch, +files/mpd.init: + Tweak default pid/log paths (bug #331723), fix init script dependencies + (bug #331725), reduce init script noise (bug #331727) and convert init + script to s-s-d (bug #331729)