Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 791335

Summary: Initscripts sys-unconfig does not populate ifcfg-ethX files
Product: Red Hat Enterprise Linux 5 Reporter: Scott Croft <secroft>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Branislav Blaškovič <bblaskov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7CC: lmiksik, psklenar, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The text user interface version of the system-config-network service, system-config-network-tui, did not store the network configuration correctly after the system was cleaned with the sys-unconfig command. As a consequence, no network configuration was stored in the /etc/sysconfig/network-scripts/ directory. With this update, even if no previous configuration exists, system-config-network-tui stores the configuration in that directory as expected. As a result, a network configured with system-config-network-tui works after executing sys-unconfig.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-16 00:17:59 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:
Bug Depends On:    
Bug Blocks: 1049888    

Description Scott Croft 2012-02-16 19:27:12 UTC
Description of problem: When starting up a system and it is configured after previously running sys-unconfig, the ifcfg-ethX files are not populated with the data/information supplied.


Version-Release number of selected component (if applicable): initscripts-8.45.38-2.el5


How reproducible: every time a new host is booted


Steps to Reproduce:
1. Execute sys-unconfig
2. Shut machine down
3. Boot up and follow steps for configuring the host
4. At the network step, fill in correct information for the network
5. Navigate to /etc/sysconfig/network-scripts and see if the ifcfg-ethX files are populated with the correct information.
  
Actual results:

The ifcfg-ethX files have no information

Expected results:

The ifcfg-ethX files should have the provided information

Additional info:

Comment 1 Bill Nottingham 2012-02-16 19:38:02 UTC
In RHEL 5, network configuration at this step is done by system-config-network-tui. Reassigning.

Comment 4 Branislav Blaškovič 2014-06-03 12:59:36 UTC
I can verify, that system-config-network-tui after sys-unconfig fill network-scripts (and /etc/resolv.conf) right. (IP, netmask, gateway, dns,.)

Testing with: system-config-network-1.3.99.23-1.el5

Comment 6 errata-xmlrpc 2014-09-16 00:17:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1195.html