Bug 136682 (IT_43092) - [PATCH] kudzu fails to remove all conf files associated with a device when unconfiguring it
Summary: [PATCH] kudzu fails to remove all conf files associated with a device when un...
Keywords:
Status: CLOSED ERRATA
Alias: IT_43092
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kudzu
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 123574
TreeView+ depends on / blocked
 
Reported: 2004-10-21 17:07 UTC by David Lehman
Modified: 2014-03-17 02:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-19 17:17:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch so kudzu removes /etc/sysconfig/networking/devices/ifcfg-eth<n> when unconfiguring eth<n> (551 bytes, patch)
2004-10-21 17:13 UTC, David Lehman
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:125 0 normal SHIPPED_LIVE kudzu bug fix update 2005-05-19 04:00:00 UTC

Description David Lehman 2004-10-21 17:07:35 UTC
Description of problem:
Kudzu does not remove /etc/sysconfig/networking/devices/ifcfg-eth<N>
files created by redhat-config-network when "unconfiguring" a device.

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

How reproducible:
Always

Steps to Reproduce:
1. Remove a NIC that was configured by redhat-config-network
2. Look in /etc/sysconfig/networking/devices
3. Observe the continued existence of obsolete config file
  
Actual results:
/etc/sysconfig/networking/devices/ifcfg-eth<N> still exists.

Expected results:
/etc/sysconfig/networking/devices/ifcfg-eth<N> is gone.

Additional info:
This apparently helps to confuse r-c-network on subsequent invocations
(see IT ref'd in alias)

Comment 1 David Lehman 2004-10-21 17:11:37 UTC
I realize this is not exactly kudzu's fault, but once a user runs
r-c-network once (even if they don't do anything with it) the file
exists. It seems reasonable to me for kudzu to nuke it as a courtesy.

Comment 2 David Lehman 2004-10-21 17:13:59 UTC
Created attachment 105598 [details]
Patch so kudzu removes /etc/sysconfig/networking/devices/ifcfg-eth<n> when unconfiguring eth<n>

Comment 3 Bill Nottingham 2004-10-21 18:22:16 UTC
Is this going to confuse s-c-n at all?

Comment 4 Harald Hoyer 2004-10-21 18:33:03 UTC
if you only delete in network-scripts and there are ifcfg-* in
networking, the devices are only marked inactive in the profile...

Comment 5 David Lehman 2004-10-21 19:27:56 UTC
So then the question is whether removed devices should be removed or
made inactive in s-c-n.

Comment 6 Bill Nottingham 2004-10-21 19:30:20 UTC
Removed, I'd presume. I'll put the patch in.

Comment 9 Tim Powers 2005-05-19 17:17:41 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 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.

http://rhn.redhat.com/errata/RHBA-2005-125.html



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