Bug 730533
Summary: | yum/curl/wget curl#6 - "Couldn't resolve host" error with DNS server that doesn't support ipv6 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Koen <koen.schram> | ||||
Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | ffesti, james.antill, koen.schram, maxamillion, pmatilai, tim.lauridsen, zpavlas | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-08-17 06:54:40 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: | |||||||
Attachments: |
|
Description
Koen
2011-08-14 08:01:37 UTC
Hi, thanks for the report! Yum does not support -4 and -6 in yum.conf. However, you could manually change the urlgrabber's defaults. /usr/lib/python2.7/site-packages/urlgrabber/grabber.py - self.ip_resolve = None + self.ip_resolve = 'ipv4' But there's something wrong in your setup, as curl should not exit with ERR#6, but fall back IPv4 "A" records. Could you run # export URLGRABBER_DEBUG=1,debug.txt # yum update and attach the debug file? Created attachment 518339 [details]
as requested : debug output of yum
As requested, herewith the output of de debug.txt
(In reply to comment #2) > Created attachment 518339 [details] > as requested : debug output of yum > > As requested, herewith the output of de debug.txt Thank you very much for your quick reply. The trick in /usr/lib/python2.7/site-packages/urlgrabber/grabber.py does indeed solve the initial problem. I have no idea why curl exits with ERR#6. If it is of any help, I could attach the new debug file ? The upstream yum now supports 'ip_resolve' option in yum.conf, so just set 'ip_resolve = ipv4' there. Fixed in upstream, closing. |