Bug 243653 - kudzu fails to cope with quoted parameters in ifcfg files
kudzu fails to cope with quoted parameters in ifcfg files
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kudzu (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Bill Nottingham
Milan Zázrivec
Depends On: 243651
Blocks: 351291 RHEL5u2_relnotes
  Show dependency treegraph
Reported: 2007-06-11 05:10 EDT by Martin Poole
Modified: 2014-03-16 23:07 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2008-0329
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 13:27:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to handle quoted parameters (949 bytes, patch)
2007-06-11 05:10 EDT, Martin Poole
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0329 normal SHIPPED_LIVE kudzu bug fix update 2008-05-20 09:24:13 EDT

  None (edit)
Description Martin Poole 2007-06-11 05:10:09 EDT
+++ This bug was initially created as a clone of Bug #243651 +++

Description of problem:

kudzu fails to cope with quoted parameters in ifcfg files

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. edit ifcfg-* files and quote DEVICE/HWADDR lines
2. run kudzu
Actual results:

kudzu does not match devices and regenerates files

Expected results:

copes with quoted parameters and uses existing files

Additional info:

-- Additional comment from mpoole@redhat.com on 2007-06-11 05:07 EST --
Created an attachment (id=156685)
patch to handle quoted parameters
Comment 1 Martin Poole 2007-06-11 05:10:10 EDT
Created attachment 156686 [details]
patch to handle quoted parameters
Comment 2 Bill Nottingham 2007-06-14 12:57:25 EDT
Note: this requires respinning initscripts too. There's something to be said for
'don't mis-edit files', though. :)
Comment 3 RHEL Product and Program Management 2007-10-15 23:57:55 EDT
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
Comment 4 Bill Nottingham 2007-10-24 16:35:15 EDT
Also, with regards to this patch, it will break if someone *wants* there to be a
quote in their device name. As that's legal (if odd) for the device name, I'm
somewhat inclined to not dequote that parameter. (And no, I don't want to
introduce escapes.)
Comment 6 Bill Nottingham 2008-01-09 16:26:59 EST
Added in
Comment 8 Don Domingo 2008-01-20 18:21:20 EST
added to RHEL5.2 release notes under "Resolved Issues":

kudzu can now properly parse ifcfg-* files that contain quotes. In addition,
kudzu no longer modifies network configurations on device change if the device's
HWADDR is not specified.

please advise if any revisions are in order. thanks!
Comment 9 Issue Tracker 2008-01-21 11:12:41 EST
----- Additional Comments From gmuelas@de.ibm.com  2008-01-21 05:28 EDT
Hello Red Hat,

Release Notes proposed for RHEL 5.2 will be verify when we are able to
test the
statement on the first beta (or alpha if any arrives).

Still pending are:
- a KB for RHEL 5 and RHEL 5.1 where quotes should not be use except for
when giving more than one pair.
- updating Installation and Deployment Guide explaining how to use
OPTIONS (at least with an example) in ifcfg in general.

Thanks for your support,

This event sent from IssueTracker by jkachuck 
 issue 122098
Comment 10 Bill Nottingham 2008-01-21 13:06:59 EST
Might want to change the relnote to "contain quotes around the HWADDR or
SUBCHANNELS parameter.", just to be specific.
Comment 11 Don Domingo 2008-01-21 18:01:30 EST
thanks Bill, edited as advised.
Comment 13 Milan Zázrivec 2008-04-02 05:31:51 EDT
Verified with kudzu- / RHEL5.2-Server-20080401.nightly
Comment 15 errata-xmlrpc 2008-05-21 13:27:32 EDT
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 the 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.


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