Bug 560135

Summary: Yum cannot handle IPv6 DNS
Product: [Fedora] Fedora Reporter: E Lilley <ejlilley>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: ejlilley, felix, ffesti, james.antill, jeff, kdudka, maxamillion, paul, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-02 23:06:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description E Lilley 2010-01-29 23:06:50 UTC
Description of problem:

Yum cannot download metadata when there only exists an IPv6 address for a DNS server in /etc/resolv.conf

Version-Release number of selected component (if applicable):

yum-3.2.25-12.fc13.noarch
python-pycurl-7.19.0-4.fc12.x86_64

Steps to Reproduce:
1. Remove IPv4 DNS server address from /etc/resolv.conf
2. Add valid IPv6 DNS server address to /etc/resolv.conf
3. Run yum upgrade or suchlike
  
Actual results:

root@hostname:~# yum install somepackage
Loaded plugins: download-order, presto, refresh-packagekit
http://ftp.icm.edu.pl/pub/Linux/distributions/rpmfusion/free/fedora/development/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
http://fr2.rpmfind.net/linux/rpmfusion/free/fedora/development/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.

i.e. pycurl bales out for some reason.

Expected results:

Normal DNS resolution from yum, & by extension, from python-pycurl as well.

Additional info:

This may be either a yum-specific or a pycurl-specific problem.

Comment 1 Bug Zapper 2010-03-15 14:18:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Felix Kaechele 2010-05-30 19:09:56 UTC
Same goes for a repo that has a DNS name that only resolves to a IPv6 address. Same error as above.

Comment 3 Jeffrey C. Ollie 2010-12-02 22:20:09 UTC
Reassigning to curl since pycurl is just a wrapper.

Comment 4 Kamil Dudka 2010-12-02 23:06:36 UTC
This was already fixed in curl-7.20.1-1.fc13.

*** This bug has been marked as a duplicate of bug 548269 ***