Bug 200035
Summary: | import from system-config-network-cmd will mangle DEVICE and break the ifcfg interface | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Panagiotes M. Petrakis <peter.petrakis> |
Component: | rhpl | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | atodorov, azelinka, pknirsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Due to an error in a parser, having a comment at the same line as the configuration option may have caused this option to be parsed incorrectly. With this update, this error no longer occurs, and lines containing comments are now parsed as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-24 12:43:04 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
Panagiotes M. Petrakis
2006-07-24 22:32:16 UTC
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Due to an error in a parser, having a comment at the same line as the configuration option may have caused this option to be parsed incorrectly. With this update, this error no longer occurs, and lines containing comments are now parsed as expected. qa_ack+ # rpm -q rhpl rhpl-0.148.6-1 # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 # our main device BOOTPROTO=dhcp HWADDR=00:E0:81:45:C0:6A ONBOOT=yes TYPE=Ethernet # system-config-network-cmd -e > backup.cfg # system-config-network-cmd -i < backup.cfg # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE='eth0 ' BOOTPROTO=dhcp HWADDR=00:E0:81:45:C0:6A ONBOOT=yes TYPE=Ethernet See the spaces between quotes. # rpm -q rhpl rhpl-0.148.6-2 # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 # primary device BOOTPROTO=dhcp HWADDR=00:E0:81:45:C0:6A ONBOOT=yes TYPE=Ethernet # system-config-network-cmd -e > backup.cfg # system-config-network-cmd -i < backup.cfg # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:E0:81:45:C0:6A ONBOOT=yes TYPE=Ethernet Config file looks OK. # service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Setting network parameters: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] No errors while restarting service. Moving to VERIFIED. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0910.html |