Package: mpd Version: 0.17.1-1 Severity: important Tags: patch Hi,
after initial installation (that creates /run/mpd) + reboot, /run/mpd does not exist anymore, so starting the mpd service with systemd results in: mpd[1313]: daemon: could not create pid file "/var/run/mpd/pid": No such file or directory systemd[1]: mpd.service: main process exited, code=exited, status=1 systemd[1]: mpd.service: main process exited, code=exited, status=1 systemd[1]: Unit mpd.service entered failed state. Please consider applying the attached patch, that makes it so systemd's tmpfiles.d mechanism creates /run/mpd at boot time, if it does not exist yet. Thank you for maintaining systemd in Debian! Cheers, -- intrigeri | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
diff -Nru mpd-0.17.1/debian/mpd.dirs mpd-0.17.1/debian/mpd.dirs --- mpd-0.17.1/debian/mpd.dirs 2011-07-31 22:31:48.000000000 +0200 +++ mpd-0.17.1/debian/mpd.dirs 2012-11-27 00:15:51.000000000 +0100 @@ -1,5 +1,6 @@ etc usr/bin +usr/lib/tmpfiles.d usr/share/man/man1 var/log/mpd var/lib/mpd diff -Nru mpd-0.17.1/debian/mpd.tmpfiles mpd-0.17.1/debian/mpd.tmpfiles --- mpd-0.17.1/debian/mpd.tmpfiles 1970-01-01 01:00:00.000000000 +0100 +++ mpd-0.17.1/debian/mpd.tmpfiles 2012-11-27 00:01:18.000000000 +0100 @@ -0,0 +1 @@ +d /run/mpd 0755 mpd audio - diff -Nru mpd-0.17.1/debian/rules mpd-0.17.1/debian/rules --- mpd-0.17.1/debian/rules 2012-08-24 17:36:16.000000000 +0200 +++ mpd-0.17.1/debian/rules 2012-11-27 00:13:59.000000000 +0100 @@ -39,3 +39,7 @@ override_dh_installinit: dh_installinit -n + +override_dh_install: + dh_install + cp $(CURDIR)/debian/mpd.tmpfiles $(CURDIR)/debian/mpd/usr/lib/tmpfiles.d/mpd.conf

