Bug 629819 - Don't write NM_CONTROLLED to ifcfg-* on install
Summary: Don't write NM_CONTROLLED to ifcfg-* on install
Keywords:
Status: CLOSED DUPLICATE of bug 639006
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-03 03:53 UTC by Ben Boeckel
Modified: 2010-10-07 04:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-07 04:11:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ifcfg-eth0 (69 bytes, text/plain)
2010-09-13 14:01 UTC, Ben Boeckel
no flags Details
ifcfg-wlan0 (70 bytes, text/plain)
2010-09-13 14:01 UTC, Ben Boeckel
no flags Details
anaconda.log (33.50 KB, text/plain)
2010-09-13 14:03 UTC, Ben Boeckel
no flags Details
anaconda.syslog (98.49 KB, text/plain)
2010-09-13 14:03 UTC, Ben Boeckel
no flags Details

Description Ben Boeckel 2010-09-03 03:53:46 UTC
Description of problem:
When installing F14-Alpha, the network configurations have NM_CONTROLLED="yes" written even on the minimal install selection which does not include NetworkManager.

Comment 1 Ben Boeckel 2010-09-03 03:54:24 UTC
Oops, reassign to F14.

Comment 2 Radek Vykydal 2010-09-03 11:18:56 UTC
Thanks for the report. What is the problem caused by the NM_CONTROLLED setting? I'd guess the network is not up after reboot - then the cause would not be setting of NM_CONTROLLED but that of ONBOOT=no, which would make this a dupe of bug 620823. Is it your case?

Comment 3 Ben Boeckel 2010-09-03 12:04:52 UTC
ifup/ifdown wasn't doing anything. Looking at it again, the root cause is probably that BOOTPROTO="dhcp" missing.

Comment 4 Radek Vykydal 2010-09-08 09:25:12 UTC
Can you please attach /var/log/anaconda.syslog, /var/log/anaconda.log from installed system? Also /tmp/ifcfg.log gathered before the end of install (it can by done by switching to tty2 and using scp to remote machine or cp to local storage), or post-install /etc/sysconfig/network-scripts/ifcfg-eth* files would be helpful.
Did you do any network configuring/enabling in UI during install? Can you describe it?

Comment 5 Ben Boeckel 2010-09-13 14:00:26 UTC
I didn't do anything during the install with networking other than use it (netinst). Attaching logs from a 14-Alpha install.

Comment 6 Ben Boeckel 2010-09-13 14:01:32 UTC
Created attachment 446932 [details]
ifcfg-eth0

Comment 7 Ben Boeckel 2010-09-13 14:01:51 UTC
Created attachment 446933 [details]
ifcfg-wlan0

Comment 8 Ben Boeckel 2010-09-13 14:03:11 UTC
Created attachment 446935 [details]
anaconda.log

Comment 9 Ben Boeckel 2010-09-13 14:03:32 UTC
Created attachment 446937 [details]
anaconda.syslog

Comment 10 Ben Boeckel 2010-10-06 03:58:34 UTC
Okay, it seems to have worsened for F14 Beta. NM_CONTROLLED is still "yes". There is also a lot of other data written to these files that I haven't seen before (though it looks benign).

TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=<hex>

Since the beta seems to use anaconda shipped in it, the network was configured right before install rather than before stage2 fetching. NM really needs to not touch the installed system's network configuration in anaconda IMO.

Comment 11 Radek Vykydal 2010-10-06 09:24:15 UTC
(In reply to comment #10)
> Okay, it seems to have worsened for F14 Beta. NM_CONTROLLED is still "yes".
> There is also a lot of other data written to these files that I haven't seen
> before (though it looks benign).
> 
> TYPE=Ethernet
> BOOTPROTO=dhcp
> DEFROUTE=yes
> PEERDNS=yes
> PEERROUTES=yes
> IPV4_FAILURE_FATAL=yes
> IPV6INIT=no
> NAME="System eth0"
> UUID=<hex>

Now with BOOTPROTO present, ifup/ifdown should work (comment #3) so it doesn't seem like worsening to me. Writing NM_CONTROLLED and other stuff should be harmless for minimal target system (a system without NM).

We are aware that we are writing stuff into ifcfg files, and it has its purpose. To be able to address your report we need to know what the actual problem is - what doesn't work for you - only then the info about content of ifcfg files or logs becomes useful.

We are now tracking two issues that might be the same as yours, both for installs where network:
- is not enabled during install
- is not configured in GUI with Connection Editor (invoked with "Configure Network" button)
- is not configured in kickstart with network command

One is that network is not automatically brought up after install - bug #498207, the second is that for minimal install, in addition to that, it can't be brought up with ifup (missing configuration, e.g. default BOOTPROTO=dhcp) - bug #639006. Do the bugs subsume your issue or is it something different?

Comment 12 Ben Boeckel 2010-10-07 04:11:22 UTC
Oops, indeed. Sorry; shouldn't be cruising BZ that late after an exhausting day. I can confirm that this is fixed (at least bug #639006). I'm used to ifup/ifdown manually so I didn't notice that being an issue at all.

*** This bug has been marked as a duplicate of bug 639006 ***


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