Skip Menu |

This queue is for tickets about the Test-Corpus-Audio-MPD CPAN distribution.

Report information
The Basics
Id: 76383
Status: resolved
Priority: 0/
Queue: Test-Corpus-Audio-MPD

People
Owner: Nobody in particular
Requestors: fschlich [...] zedat.fu-berlin.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.113282
Fixed in: (no value)



Subject: Failed to bind to '[::1]:6600': Address already in use
Hi, I'm forwarding Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi? bug=667062 Apparently, there are differences even among Debian systems about the addresses that "localhost" refers to, with some systems interpreting the name as IPv4-only, whereas other systems take it to refer to both the IPv4 (127.0.0.1) as well as the IPv6 (::1) localhost address, and a sentiment that the latter is arguably more correct. Unfortunately, on the latter systems, t/00-compile.t fails with the error message "could not start fake mpd: Failed to bind to '[::1]:6600': Address already in use", as ::1 is already taken when binding to "localhost", and cannot be bound to twice. The following patch fixes this problem by disambiguating the address to bind to: --- a/share/mpd.conf.template +++ b/share/mpd.conf.template @@ -6,7 +6,7 @@ db_file "TMP/music.db" state_file "TMP/state" pid_file "TMP/pid" -bind_to_address "localhost" +bind_to_address "127.0.0.1" password "fulladmin@read,add,control,admin" password "foobar@read" default_permissions "read,add,control,admin" Florian
thanks, fixed in v1.120990