Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 594881 - writes NM_CONTROLLED=no to wlan config file
Summary: writes NM_CONTROLLED=no to wlan config file
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-21 20:24 UTC by Bill Nottingham
Modified: 2014-03-17 03:23 UTC (History)
6 users (show)

Fixed In Version: anaconda-13.21.52-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-10 19:44:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Bill Nottingham 2010-05-21 20:24:48 UTC
Description of problem:

I did a network install using boot.iso. I did not ask to set up wlan0, because it wasn't my install interface. anaconda wrote NM_CONTROLLED=no to it, effectively breaking it out-of-the-box

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


Comment 2 Radek Vykydal 2010-05-26 12:27:09 UTC
Currently (after my nm-c-e integration set of patches) we set a network device
as NM_CONTROLLED only if it is selected when enabling network (be it in stage
1 or stage 2) or in pre nm-c-e dialog when configuring network in stage 2.

I was thinking about writing out "yes" by default specifically for wireless devices. I wanted to do it already in stage 1, so that setting the wlan as not controlled by NM in stage 2 UI by user is preserved. I've already added some bits we'd need to do this (wireless device detection) to master while working on support for wireless (bug 473803), but wireless support is not going to rhel 6.0.

Alternatively, for 6.0, independently of wireless support patches, I can set wireless devices as NM_CONTROLLED at the beginning of stage 2 with a simple patch below. Maybe it is even better than setting in stage 1 when I am thinking about it now.

diff --git a/ b/
index 8b0d109..7c664bf 100644
--- a/
+++ b/
@@ -316,6 +316,8 @@ class Network:
         self.overrideDHCPhostname = False
+        # We want wireless devices to be nm controlled by default
+        self.controlWireless()
     def update(self):
@@ -441,6 +443,11 @@ class Network:
         return ifaces
+    def controlWireless(self):
+        for devname, device in self.netdevices.items():
+            if isys.isWireless(devname):
+                device.set(('NM_CONTROLLED', 'yes'))

Comment 3 Bill Nottingham 2010-05-26 19:57:03 UTC
I think that the simpler solution is to just not write NM_CONTROLLED, period. (either yes or no)

Comment 4 RHEL Product and Program Management 2010-06-02 14:45:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 5 Radek Vykydal 2010-06-17 08:51:50 UTC
This should be fixed in anaconda-13.21.52-1.

Comment 6 Chris Lumens 2010-06-22 19:28:12 UTC
*** Bug 606745 has been marked as a duplicate of this bug. ***

Comment 8 Lubos Kocman 2010-07-01 14:16:22 UTC
Verified on anaconda-13.21.54-1.el6  

I was facing this issue as well and I haven't met this issue on clean install of RHEL 6.0-{20100628, 20100629}.

Comment 9 2010-11-10 19:44:42 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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