Bug 63230

Summary: Hostname not resolved on boot
Product: [Retired] Red Hat Linux Reporter: David <dsp2>
Component: dhcpAssignee: Elliot Lee <sopwith>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-11 15:16:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David 2002-04-11 14:58:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314
Netscape6/6.2.2

Description of problem:
When I boot up my computer into linux, the hostname I get does not contain the
domain name.  For example, the hostname on my computer should generally be
r070538.res.lehigh.edu.  However, my computer only has it listed as r075038.  It
does not have the domain name following it, and therefore I cannot resolve my
ip.  I have to manually use sysctl -w kernel.hostname=r075038.res.lehigh.edu for
it to work.  Is there any way so it automatically will look it up?  By the way,
this used to work but for some reason I am just having this problem now.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Boot machine into linux
2.
3.
	

Actual Results:  It brings up eth0 during bootup, but at lpd it gives me the
error that it can't resolve r075038 (since it doesn't contain the domain
.res.lehigh.edu)

Expected Results:  A full hostname

Additional info:

Comment 1 Elliot Lee 2002-04-11 15:01:14 UTC
Having the hostname == FQDN is not a requirement. You probably need to fix your
hostname resolution setup so that 'hostname -f' works properly. If DNS is
borked, you might need to fix up the /etc/hosts line....

(This also has nothing to do with the dhcp server package)

Comment 2 David 2002-04-11 15:16:02 UTC
So what would I have to do to make sure that it recognizes my entire hostname?

Comment 3 Elliot Lee 2002-04-11 15:20:48 UTC
Sorry, I gave the basics, but if you need more assistance than that, you'll need
to talk to the fine folks in support, or avail yourself of one of the mailing
lists for Red Hat Linux users (see www.redhat.com/support and
www.redhat.com/mailing-lists)