Long names for 'option domain-name' is not written to resolv.conf while doing anaconda installation in Red Hat Enterprise Linux 5

Solution Verified - Updated -

Issue

  • While PXEbooting for a network install, resolv.conf is not updated with the proper domain name in the "search" field if the domain name is too long. Eg,

    option domain-name "foo.bar.s.abcdefghijklmn.net foo.bar1.m.abcdefghijklmn.net abcdefghijklmn.net fooabcd.net example.com dev.abcdefghijklmn.net"; 
    
  • Resolv.conf ends up as below.

    search  
    nameserver <dns1>
    nameserver <dns2>
    
  • This happens during the install process ONLY. The system correctly generates resolv.conf once installed.

Environment

Red Hat Enterprise Linux 5

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