Bug 830436 - Missing IPV6INIT setting in ifcfg-* file is interpreted as having the value of "no"
Summary: Missing IPV6INIT setting in ifcfg-* file is interpreted as having the value o...
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 17
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F18Blocker, F18FinalBlocker
TreeView+ depends on / blocked
Reported: 2012-06-09 14:57 UTC by Tore Anderson
Modified: 2012-06-13 19:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-13 19:11:42 UTC

Attachments (Terms of Use)

Description Tore Anderson 2012-06-09 14:57:50 UTC
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 15:17:47 UTC
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 19:11:42 UTC
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.

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