RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1076277 - rpm do not support ipv6 on RHEL6.5
Summary: rpm do not support ipv6 on RHEL6.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rpm
Version: 6.6
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Marek Marusic
URL:
Whiteboard:
Depends On: 1075844
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-14 01:40 UTC by Hangbin Liu
Modified: 2015-07-22 07:03 UTC (History)
5 users (show)

Fixed In Version: rpm-4.8.0-40.el6
Doc Type: Bug Fix
Doc Text:
The rpm utility was unable to download and install packages the remote locations of which were specified with an IPv6 address and a specific path format. Now, rpm automatically uses the "--globoff" option with IPv6 addresses, which turns off cURL globbing, and allows packages to be properly downloaded and installed in the described scenario.
Clone Of: 1075844
: 1198515 (view as bug list)
Environment:
Last Closed: 2015-07-22 07:03:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1452 0 normal SHIPPED_LIVE rpm bug fix and enhancement update 2015-07-20 18:43:47 UTC

Description Hangbin Liu 2014-03-14 01:40:38 UTC
Clone to RPM since "rpm -ivh http://[$ipv6_addr]/pakcage_name.rpm" failed but curl support IPv6

+++ This bug was initially created as a clone of Bug #1075844 +++

Description of problem:
curl do not support ipv6 on RHEL6.5

Version-Release number of selected component (if applicable):
# curl -V
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.3.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz


How reproducible:


Steps to Reproduce:
1. # curl -v -6 http://[2001::1]/
2.
3.

Actual results:
curl: (3) [globbing] error: bad range specification after pos 9

Expected results:
get the html from ipv6 host

Additional info:

rpm use curl to get packages from server, so it will fail if we usr "rpm -ivh http://[$ipv6_addr]/pakcage_name.rpm".

BTW, wget works well.
# wget http://[2001::1]/packages/
--2014-03-13 17:38:19--  http://[2001::1]/packages/
Connecting to 2001::1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 951 [text/html]
Saving to: ?index.html?

100%[=====================================================================================================================================================================================================>] 951         --.-K/s   in 0s

2014-03-13 17:38:19 (220 MB/s) - ?index.html? saved [951/951]

--- Additional comment from Kamil Dudka on 2014-03-13 07:59:56 EDT ---

You need to use the -g/--globoff option.  Please read the FAQ:

http://curl.haxx.se/docs/faq.html#How_can_I_use_or_to_sp

Comment 1 Panu Matilainen 2014-03-14 11:59:38 UTC
Okay so curl needs --globoff to work with raw ipv6 addresses.
Severity high this is not.

Comment 2 Florian Festi 2014-12-15 15:28:14 UTC
See upstream commit 409fa83c94d50ab0c4849b737f2647e1069aea8b

Comment 7 errata-xmlrpc 2015-07-22 07:03:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1452.html


Note You need to log in before you can comment on or make changes to this bug.