Bug 830436

Summary: Missing IPV6INIT setting in ifcfg-* file is interpreted as having the value of "no"
Product: [Fedora] Fedora Reporter: Tore Anderson <tore>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: danw, dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-13 15:11:42 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 752661    

Description Tore Anderson 2012-06-09 10:57:50 EDT
Description of problem:

If a ifcfg-* file read by NetworkManager lacks the IPV6INIT setting, this is interpreted to have an implicit value of "no". This makes NetworkManager not activate IPv6 on the interface, and in the case of an IPv6-only network, fail to activate the connection completely.

This is inconsistent with the defaults used elsewhere. If there is no ifcfg file  at all for the network interface being activated, NM will activate IPv6. If it creates a new ifcfg file when connecting to a new network (for example a wireless network), it will contain the value IPV6INIT=yes.

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


How reproducible:


Steps to Reproduce:
1. Attempt to connect to an IPv6-only network using an ifcfg file that does not contain the IPV6INIT setting (see below for an example).
Actual results:

The connection activation fails.

Expected results:

The connection activation should succeed.

Additional info:

Recent versions of Anaconda creates initial ifcfg-files that looks something like this during installation:


Note the lack of IPV6INIT=yes. This prevents an freshly installed Fedora system from connecting to an IPv6-only network out of the box. This is a release-blocking problem, cf. <http://lists.fedoraproject.org/pipermail/test/2012-March/106054.html>.

Also see the related Anaconda bug report: <https://bugzilla.redhat.com/show_bug.cgi?id=830434>.
Comment 1 Tore Anderson 2012-06-09 11:17:47 EDT
I sent a patch to the NM mailing list about a year ago that changes NM's interpretation of the lack of IPV6INIT settings in ifcfg files, it ought to fix this problem:


Comment 2 Dan Winship 2012-06-13 15:11:42 EDT
ifcfg-rh has to interpret the config files the same way the non-NetworkManager-based networking scripts do. (That's its entire reason for existing.) Those scripts only configure IPv6 if "IPV6INIT=yes" is present, so NM must do so as well.

To the extent that this is "inconsistent with the defaults used elsewhere", that's anaconda's fault for writing the file that way, and anaconda should be fixed, as you noted in your other bug.