Bug 77457 - hostid replies with same identifier = 7f0100
hostid replies with same identifier = 7f0100
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
7.2
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-07 07:06 EST by lattier
Modified: 2016-11-24 10:01 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-12-10 07:46:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description lattier 2002-11-07 07:06:30 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; SunOS 5.7 sun4u)

Description of problem:
running hostid command on different stations ; got the same result = 
7f0100

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


How reproducible:
Always

Steps to Reproduce:
1.run hostid on each station
2.
3.
	

Actual Results:  7f0100

Expected Results:  an unique identifier for each station

Additional info:
Comment 1 Tim Waugh 2004-12-10 07:36:40 EST
The hostid program just calls the gethostid() function from the C library.
Comment 2 Jakub Jelinek 2004-12-10 07:46:31 EST
If /etc/hostid doesn't exist (where you can set hostid to anything you want),
gethostid returns IP address of your hostname.
So it depends on how have you configured your networking.
7f0100 means your hostname's IP address is on lo interface, just don't do that.

Note You need to log in before you can comment on or make changes to this bug.