Hi Paulo, I have tried to use it on F19. THANKS!!
I could not get it to start. It threw a very misleading error - "Failed to bind to 'localhost': No such file or directory", but the real reason was that the directory "/var/run/mpd" was not created.
This in it self has nothing to do with systemd as such, just because Fedora introduced the empty /var at the same time (tmpfs mounted /var) . Hope this clears it up? Regards, Kim On 2013-07-25 12:25, Paulo Cavalcanti wrote:
Hi, the version for F17 uses systemd, ant the other for rhel6, does not. What version do you mean? On Tue, Jul 23, 2013 at 8:51 AM, Kim Bisgaard <[email protected] <mailto:[email protected]>> wrote: Hi Paulo, Could I persuade you to create the directory with the socket file in the package? This prevents the package to work on distributions with systemd. The spec-file-fu is something like the following: file mpd.tpmfilesd with this line: d /var/run/mpd 0755 mpd audio - Source10: mpd.tmpfilesd %if %{with systemd} #install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/mpd.conf install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/tmpfiles.d/mpd.conf %endif Regards, Kim On 2013-07-10 14:30, Paulo Cavalcanti wrote:Hi, Axel I have two versions. One for Fedora, which uses mpd.service, and another for rhel6 with /etc/rc.d/init.d/mpd. The fedora version is the same we had before, but the rhel6 will allow an upgrade from the previous 0.16.7 we have at ATrpms. Thanks. http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm <http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm> http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm <http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm>-- Paulo Roma CavalcantiLCG - UFRJ _______________________________________________ atrpms-devel mailing list [email protected] <mailto:[email protected]> http://lists.atrpms.net/mailman/listinfo/atrpms-devel_______________________________________________ atrpms-devel mailing list [email protected] <mailto:[email protected]> http://lists.atrpms.net/mailman/listinfo/atrpms-devel -- Paulo Roma Cavalcanti DCC - UFRJ _______________________________________________ atrpms-devel mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-devel
_______________________________________________ atrpms-devel mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-devel
