2009/2/24 Max Kellermann <[email protected]>

> On 2009/02/24 17:55, Julien Langer <[email protected]> wrote:
> > Here it is. I'm also attaching a strace of mpd 0.13, which still works
> fine.
> > I think mpd 0.14.1 also worked, but I don't have a deb of that version
> > anymore.
>
> I see bind() twice:
>
>  bind(5, {sa_family=AF_INET, sin_port=htons(6600),
>  sin_addr=inet_addr("127.0.0.1")}, 16) = 0
>  bind(6, {sa_family=AF_INET, sin_port=htons(6600),
>  sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address
>  already in use)
>
> What listener addresses did you configure?  If you have only one, then
> your system resolved has returned 127.0.0.1 twice (I cannot see that
> in the trace).


localhost indeed resolves twice on my system.
After removing the localhost entry from my /etc/hosts it only resolves once
and mpd works.
How does my system still resolve localhost if it's not in /etc/hosts? Any
ideas?
It seems like this behaviour was introduced by some other package upgrade
since mpd 0.14 worked fine just a few days ago.


>
>
> MPD 0.13 ignored all "secondary" addresses of a host, which was
> incorrect.
>
> Max
>

Reply via email to