Differences in the localhost entry in /etc/hosts on Red Hat Enterprise Linux systems

Solution Verified - Updated -

Issue

  • On some servers there seems to be a difference in the default entry for 127.0.0.1 in /etc/hosts :

    127.0.0.1               localhost.localdomain localhost
    
  • and :

    127.0.0.1               svlirc16 localhost.localdomain localhost  
    
  • What's the reason for this change?

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content