Bug 674473 - ETHTOOL_OPT in ifcfg-ethX is not quoted with --ethtool kickstart option including autoneg
Summary: ETHTOOL_OPT in ifcfg-ethX is not quoted with --ethtool kickstart option inclu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-02 03:26 UTC by Masahiro Matsuya
Modified: 2011-09-21 21:02 UTC (History)
2 users (show)

Fixed In Version: anaconda-11.1.2.229-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 06:55:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (709 bytes, patch)
2011-02-02 03:29 UTC, Masahiro Matsuya
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0984 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-07-20 15:45:09 UTC

Description Masahiro Matsuya 2011-02-02 03:26:50 UTC
Description of problem:
When a customer installed with --ethtool="autoneg on wol g" kickstart option,
ETHTOOL_OPTS entry in ifcfg-ethX was created as below.

   ETHTOOL_OPTS=autoneg on wol g

This should be quoted as below.

   ETHTOOL_OPTS="autoneg on wol g"
  
Version-Release number of selected component (if applicable):
anaconda-11.1.2.224-1

How reproducible:
Always

Steps to Reproduce:
1. install with kickstart file including --ethtool="autoneg on wol g"
2. After installation, check /etc/ifcfg-eth0
  
Actual results:
The values of ETHTOOL_OPTS are not quoted.

Expected results:
The values of ETHTOOL_OPTS are quoted.

Comment 1 Masahiro Matsuya 2011-02-02 03:29:41 UTC
Created attachment 476512 [details]
proposed patch

Comment 2 RHEL Program Management 2011-02-17 22:00:18 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Radek Vykydal 2011-03-29 17:04:32 UTC
Thanks for the patch.
This should be fixed in anaconda-11.1.2.229-1.

Comment 5 Jan Stodola 2011-05-27 08:33:54 UTC
Tested on build RHEL5.7-Server-20110525.0 with anaconda-11.1.2.236-1.

kickstart command:
[root@gilliam ~]# grep network /var/www/html/ks 
network --device eth0 --bootproto dhcp --ethtool="autoneg on wol g"

after the installation:
[root@system1 ~]# grep ETHTOOL_OPTS /etc/sysconfig/network-scripts/ifcfg-eth0
ETHTOOL_OPTS="autoneg on wol g"

Moving to VERIFIED.

Comment 6 errata-xmlrpc 2011-07-21 06:55:22 UTC
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-2011-0984.html


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