Red Hat Bugzilla – Bug 1029075
Anaconda parses ipv6 addresses for nfs mounts wrong
Last modified: 2017-12-06 06:13:46 EST
Description of problem:
When specifying an nfs path containing an ipv6 address, either on the kernel cmdline as
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
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
For an example ipv6 address of [fc00:123:1:0:250:56ff:fe00:1234]
The NFS url gets parsed as:
Same example address:
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.
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.
Created attachment 1119705 [details]
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.
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:
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: