Why do duplicate configuration files like ifcfg-"ethX" gets created for network interfaces on RHEL5 vmware guests after a reboot?

Solution Verified - Updated -

Issue

  • There are mulitple RHEL 5.8 vmware guests.

  • On 5.8 Linux instances it is seen that in /etc/sysconfig/network-scripts directory there were two entries for eth0.

-rw-r--r-- 3 root root   194 Mar  1 07:50 ifcfg-eth0
-rw-r--r-- 3 root root   142 Mar  1 07:45 ifcfg-"eth0"
  • How would two entries get created, one with quotes around it?

  • This does not allow the interface to load properly at the boot time. Deleting the duplicate files and restarting the interface resolve the issue.

  • Why does this happen?

Environment

  • Red Hat Enterprise Linux 5.8

  • VMware hypervisor.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.