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 594881 - writes NM_CONTROLLED=no to wlan config file
Summary: writes NM_CONTROLLED=no to wlan config file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2010-11-10 19:44:42 UTC
Target Upstream Version:
Embargoed:


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):

RHEL6.0-20100521.n.0

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/network.py b/network.py
index 8b0d109..7c664bf 100644
--- a/network.py
+++ b/network.py
@@ -316,6 +316,8 @@ class Network:
         self.overrideDHCPhostname = False
 
         self.update()
+        # We want wireless devices to be nm controlled by default
+        self.controlWireless()
 
     def update(self):
 
@@ -441,6 +443,11 @@ class Network:
                 ifaces.append(iface)
         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 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
inclusion.

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 releng-rhel@redhat.com 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.