Bug 1132704
Summary: | Ruby DNS Resolv broken when resolv.conf has option ndots > 1 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Frank Hirtz <fhirtz> | |
Component: | ruby | Assignee: | Vít Ondruch <vondruch> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Iveta Wiedermann <isenfeld> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | 6.5 | CC: | alanm, dkutalek, hhorak, isenfeld, jherrman, jkurik, ovasik | |
Target Milestone: | rc | Keywords: | EasyFix, Patch, ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | ruby-1.8.7.374-4.el6 | Doc Type: | Bug Fix | |
Doc Text: |
Due to a bug in its name canonicalization mechanism, the Resolv DNS resolver was not able to perform simple lookup operations when the value of the "ndots" option in the resolv.conf file was greater than 1. This could lead to a variety of failures in users' configuration management system, such as the Puppet management tool, and in their provisioning system. This update fixes the canonicalization, which allows Resolv to perform lookups correctly and prevents the described problems.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1193067 1200419 1255362 (view as bug list) | Environment: | ||
Last Closed: | 2015-10-22 09:28:52 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1075802, 1193067 |
Description
Frank Hirtz
2014-08-21 20:46:26 UTC
Hi Frank, Thank you for the bug report and attached patch. However, I am afraid I can't accept your patch unless it is upstreamed first, since it would result in different behavior of Ruby resolver on Fedora/RHEL then on other platforms. Therefore I opened upstream ticket: https://bugs.ruby-lang.org/issues/10412 Lets see what upstream thinks about your patch. The patch was accepted upstream: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/48534 So it should be possible to backport it. |