Re: New mpd available

Kim Bisgaard <[email protected]> Thu, 25 Jul 2013 13:14:03 +0200
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============6119154589708865049==
Content-Type: multipart/alternative;
 boundary="------------020600050106000804090007"

This is a multi-part message in MIME format.
--------------020600050106000804090007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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 Cavalcanti
>>     LCG - 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


--------------020600050106000804090007
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Paulo,<br>
    <br>
    I have tried to use it on F19. THANKS!!<br>
    <br>
    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.<br>
    <br>
    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) .<br>
    <br>
    Hope this clears it up?<br>
    <br>
    Regards,<br>
    Kim<br>
    <br>
    <div class="moz-cite-prefix">On 2013-07-25 12:25, Paulo Cavalcanti
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMgUmnnQPacLS4V0CLTmtLc1bZoEoa8uiv_yE_86M_E1w8M1hQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          the version for F17 uses systemd, ant the other for rhel6,
          does not.<br>
          <br>
        </div>
        What version do you mean?<br>
        <div><br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Tue, Jul 23, 2013 at 8:51 AM, Kim Bisgaard <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote">
            <div> Hi Paulo,<br>
              <br>
              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.<br>
              <br>
              The spec-file-fu is something like the following:<br>
              file mpd.tpmfilesd with this line:<br>
              d /var/run/mpd 0755 mpd audio -<br>
              <br>
              Source10: mpd.tmpfilesd<br>
              <br>
              %if %{with systemd}<br>
              #install -p -D -m 644 %{SOURCE10}
              $RPM_BUILD_ROOT%{_tmpfilesdir}/mpd.conf<br>
              install -p -D -m 644 %{SOURCE10}
              $RPM_BUILD_ROOT/etc/tmpfiles.d/mpd.conf<br>
              %endif<br>
              <br>
              Regards,<br>
              Kim
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <div>On 2013-07-10 14:30, Paulo Cavalcanti wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hi, Axel<br>
                              <br>
                            </div>
                            I have two versions. One for Fedora, which
                            uses mpd.service,<br>
                          </div>
                          and another for rhel6 with
                          /etc/rc.d/init.d/mpd.<br>
                          <br>
                        </div>
                        The fedora version is the same we had before,
                        but the rhel6 will allow<br>
                      </div>
                      an upgrade from the previous 0.16.7 we have at
                      ATrpms.<br>
                      <div>
                        <div><br>
                          <div>
                            <div>
                              <div>Thanks.<br>
                              </div>
                              <div><br>
                                <br>
                                <a moz-do-not-send="true"
href="http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm"
                                  target="_blank">http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm</a><br>
                                <br>
                                <br>
                                <a moz-do-not-send="true"
href="http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm"
                                  target="_blank">http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm</a><br>
                                <br>
                                <br>
                                <br>
                                -- <br>
                                Paulo Roma Cavalcanti<br>
                                LCG - UFRJ </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
atrpms-devel mailing list
<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>
<a moz-do-not-send="true" href="http://lists.atrpms.net/mailman/listinfo/atrpms-devel" target="_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a></pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            atrpms-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:[email protected]">[email protected]</a><br>
            <a moz-do-not-send="true"
              href="http://lists.atrpms.net/mailman/listinfo/atrpms-devel"
              target="_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a><br>
          </blockquote>
        </div>
        <br>
        <br>
        <br>
        -- <br>
        Paulo Roma Cavalcanti<br>
        DCC - UFRJ
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
atrpms-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.atrpms.net/mailman/listinfo/atrpms-devel">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>

--------------020600050106000804090007--


--===============6119154589708865049==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline