Description of problem: yum over ipv6 hangs regularly and will stay hung for over 9 hours. It needs a timeout badly. Version-Release number of selected component (if applicable): $ yum --version 3.2.25 Installed: rpm-4.7.1-6.fc12.x86_64 at 2009-10-28 21:18 Built : Fedora Project at 2009-09-21 13:30 Committed: Panu Matilainen <pmatilai> at 2009-09-21 12:00 Installed: yum-3.2.25-1.fc12.noarch at 2009-10-28 22:36 Built : Fedora Project at 2009-10-16 20:44 Committed: Seth Vidal <skvidal at fedoraproject.org> at 2009-10-14 12:00 $ netstat -A inet6 Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State getnameinfo failed tcp 38 0 sonic-tun.wsrcc.com:52973 [UNKNOWN]:https CLOSE_WAIT getnameinfo failed tcp 0 0 sonic-tun.wsrcc.com:40378 [UNKNOWN]:http ESTABLISHED getnameinfo failed tcp 38 0 sonic-tun.wsrcc.com:56893 [UNKNOWN]:https CLOSE_WAIT tcp 0 0 sonic-tun.wsrcc.com:58909 mirror.steadfast.net:http ESTABLISHED $ netstat -A inet6 -n Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 38 0 2001:5a8:4:7d2::1:52973 2610:28:200:1::fed0:2:443 CLOSE_WAIT tcp 0 0 2001:5a8:4:7d2::1:40378 2001:18b8:1::beef:80 ESTABLISHED tcp 38 0 2001:5a8:4:7d2::1:56893 2610:28:200:1::fed0:2:443 CLOSE_WAIT tcp 0 0 2001:5a8:4:7d2::1:58909 2607:f128::3:80 ESTABLISHED Additionally, it looks like the mirrors are missing rDNS entries for their IPv6 addresses. How reproducible: very. Steps to Reproduce: 1. yum list 2. 3. Actual results: infinite hangs if one uses the wrong mirrors Expected results: dead of buggy mirrors should time out. Additional info:
can you come by #fedora-admin on irc.freenode.org - some of the folks there who work on our ipv6 mirrorlist info would like to see if you can run a few tests to see where it is hanging up.
I'll try to connect up on irc a bit later. In the mean time, this may give some folks an idea what is happening. Bug #536775 (https://bugzilla.redhat.com/show_bug.cgi?id=536775) is a wireshark trace of a similar hang. The first packet from the mirror after the 3-way handshake is lost. Things come to a grinding halt. This particular hang was for 9 hours before I forcefully stopped it by killing yum.
I also find that ipv6 issues make yum very slow a lot of the time, though for me it usually only hangs for a few minutes sitting in SYN_SENT.
*** This bug has been marked as a duplicate of bug 548269 ***
This is NOT really a duplicate of 548269. As you can see from the trace, I have a valid and active IPv6 connection, yum simply hangs forever if the mirror stops sending. Fixing this by needlessly disabling IPv6 would be a pretty heavy-handed fix. All yum needs is a working timeout. Of course someone could also look at the underlying IPv6 connectivity issue. IPv6 works in general, but IPv6 to the Fedora mirrors seems problematic at best.
*** This bug has been marked as a duplicate of bug 520189 ***