Netconsole cannot resolve the syslog server address if it is only included in the /etc/hosts file

Solution Verified - Updated -

Issue

  • netconsole script fails if the syslog address is not available via a DNS server
  • This prevents netconsole to work with hosts that have not access to a DNS server and have the hostsnames hardcoded in /etc/hosts

Environment

  • Red Hat Enterprise Linux
  • Activated netconsole service

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