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)
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.
Created attachment 105598 [details] Patch so kudzu removes /etc/sysconfig/networking/devices/ifcfg-eth<n> when unconfiguring eth<n>
Is this going to confuse s-c-n at all?
if you only delete in network-scripts and there are ifcfg-* in networking, the devices are only marked inactive in the profile...
So then the question is whether removed devices should be removed or made inactive in s-c-n.
Removed, I'd presume. I'll put the patch in.
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