Bug#667062: could not start fake mpd: Failed to bind to '[::1]:6600': Address already in use

Niko Tyni ntyni at debian.org
Wed Apr 4 17:16:59 UTC 2012


severity 667062  important
thanks

On Wed, Apr 04, 2012 at 01:20:08AM +0200, Florian Schlichting wrote:
 
> > Package: libtest-corpus-audio-mpd-perl
> 
> > This package doesn't work at all for me, and it even fails
> > its test suite when mpd (a missing build dependency) is installed.
> 
> On a closer look, I'd aggree that libtest-corpus-audio-mpd-perl lacks
> build dependencies on mpd and procps, although the build dependency on
> mpd was removed in the past along with other testing dependencies due to
> test failures under sbuild.

Heh. I doubt the test suite can test much with mpd.

> But even with those two added and mpd actually spawned, I don't get the
> test failure.
 
OK, I suppose it's not unusable for everyone then. Lowering the severity.

> > I ran into this while looking at #665234, and as I didn't get
> > nearly as far Lucas did in that test suite, I wonder if
> > this is something specific to my setup. FWIW, my /etc/hosts has
> > 
> > 127.0.0.1   localhost
> > ::1     localhost ip6-localhost ip6-loopback
> > 
> > which seems correct to me and is what /var/lib/dpkg/info/netbase.postinst
> > apparently does for new systems. (See #427067 and #579752.)
> 
> While I would think the same from netbase.postinst, my new laptop, which
> I installed in December last year, does not have the localhost alias for
> ::1; and the sbuild schroot has only one line, "127.0.0.1 <$hostname>
> localhost". Weird.

Weird indeed. I suppose d-i does something else then.
 
> > Possible fixes could be be changing the first address from localhost to
> > 127.0.0.1 or removing ::1 altogether (as the first one already seems to
> > achieve the desired result.)
> 
> I'd vote for the latter, as know more people trying to stay IPv4-only
> for now than the other way round...

Yes, explicitly using 127.0.0.1 and ::1 here makes sense to me.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list