Bug 473322

Summary: s-c-n writes GATEWAY or IP value into NETMASK in ifcfg-eth0 for static IP
Product: [Fedora] Fedora Reporter: Charlie <chf>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: 10CC: chf, harald, jmoskovc
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-28 11:40:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Charlie 2008-11-27 17:49:53 UTC
Description of problem:
s-c-n writes GATEWAY or IP into NETMASK in /etc/sysconfig/network-scripts/ifcfg-eth0

Version-Release number of selected component (if applicable):
system-config-network-tui-1.5.93-2.fc10.noarch


How reproducible:
Alsways

Steps to Reproduce:
1. open GUI
2. Select eth0, if static IP already just save and examine file
3. Edit eth0 to be static, enter addresses and netmask
4. Save
  
Actual results:
NETMASK=either IP or GATEWAY value

Expected results:
Correctly entered mask

Additional info:
If you hand edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file to the correct values, open with GUI and just save unchanged it overwrites the NETMASK.

Comment 1 Charlie 2008-11-27 17:56:37 UTC
The only workaround is to hand edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file.  Also some confusion on the "managed by NetManager" flag.  Should it be yes or no as the default seems to be no, but then NetManager complains it can't start the network.

I think this is also affecting the install when it asks for a static IP/mask and gateway.  I enter the correct info (192.168.1.nn/255.255.255.0) where nn is some address on my net and get the "FAILED to start eth0" popup.

Comment 2 Jiri Moskovcak 2008-11-28 11:40:45 UTC

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