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 1029075 - Anaconda parses ipv6 addresses for nfs mounts wrong
Summary: Anaconda parses ipv6 addresses for nfs mounts wrong
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 15:41 UTC by Andrei Tatar
Modified: 2020-03-03 12:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:13:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
TTY2 (16.59 KB, image/png)
2016-01-31 01:07 UTC, Noel McLoughlin
no flags Details

Description Andrei Tatar 2013-11-11 15:41:11 UTC
Description of problem:

When specifying an nfs path containing an ipv6 address, either on the kernel cmdline as

ks=nfs:[fc00::xxxx:xxxx]:/path/to/kickstart

or in the kickstart file as the path for stage2:

nfs --server [fc00::xxxx:xxxx] --dir /opt/opsware/boot/kickstart/rhel60x64

the nfs address is parsed wrong.

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

anaconda 13.21.195 , possibly earlier as well

How reproducible:

Always

Steps to Reproduce:
1. Boot RHEL 6.4 install cd with kernel argument "ks=nfs:[ipv6address]:/path/to/ks"
2. Wait for anaconda to load
3. Anaconda complains of not being able to load the kickstart file, and logs show malformed parsing of the url

Actual results:

For an example ipv6 address of [fc00:123:1:0:250:56ff:fe00:1234]

The NFS url gets parsed as:
opts="[fc00"
host="123"
path="1:0:250:56ff:fe00:1234]:/path/to/kickstart"

Expected results:

Same example address:

opts=""
host="[fc00:123:1:0:250:56ff:fe00:1234]"
path="/path/to/kickstart"

Additional info:

The most likely culprit is
void parseNfsHostPathOpts (char *url, char **host, char **path, char **opts)
from loader/nfsinstall.c in the anaconda source tree. The parsing doesn't take into consideration the case in which host is an ipv6 address.

Comment 2 RHEL Program Management 2013-11-15 09:37:13 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Noel McLoughlin 2016-01-31 01:07:16 UTC
Created attachment 1119705 [details]
TTY2

I can confirm this is a parsing bug (see screenshot) and minor issue.  I can be reproduce with nfs-over-ipv6 but not http-over-ipv6 or https-over-ipv6.

Comment 7 Jan Kurik 2017-12-06 11:13:46 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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