Bug 477678

Summary: incorrect data saved to /etc/sysconfig/network-scripts/ifcfg-eth0
Product: [Fedora] Fedora Reporter: Need Real Name <mal>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: harald, jmoskovc, shap
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-24 10:55:11 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 Need Real Name 2008-12-22 21:36:11 UTC
the 
rpm -q system-config-network
system-config-network-1.5.93-2.fc10.noarch
saves incorrect data to 
/etc/sysconfig/network-scripts/ifcfg-eth0
The 
NETMASK field gets value of IP address or gateway.
Thus the static eth0 interface created by system-config-network
is unusable.
Only manual edit of /etc/sysconfig/network-scripts/ifcfg-eth0
and setting NETMASK=255.255.255.0 
can make interface working.

Comment 1 Jonathan S. Shapiro 2008-12-23 14:14:14 UTC
The problem is somewhat worse than described. If the ifcfg-ethX file is hand-edited, and system-config-network is re-run, then the netmask field is once again mis-set and the machine is effectively taken off of the network.

Priority on this should be changed to *high*, because this will break connectivity for every unsophisticated user who is configured using static IP.

I haven't looked at source for this (traveling), but this really smells like somebody made a sloppy two line change somewhere and didn't even make a casual test.

Comment 2 Jiri Moskovcak 2008-12-24 10:55:11 UTC

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