GNU bug report logs - #12023
bug of hostid cmd ?

Previous Next

Package: coreutils;

Reported by: "�e�nQQ��" <55079536 <at> qq.com>

Date: Sun, 22 Jul 2012 06:39:02 UTC

Severity: normal

Done: P��draig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "�e�nQQ��" <55079536 <at> qq.com>
To: "12023" <12023 <at> debbugs.gnu.org>
Subject: bug#12023: RE��bug#12023: closed (Re: bug#12023: bug of hostid cmd ?)
Date: Mon, 23 Jul 2012 22:00:10 +0800
[Message part 1 (text/plain, inline)]
HI, guy,

Thanks for your reply, I add the file /etc/hostid, and get a fixed hostid value.

But, can you please tell me why my hostid will change when there is not /etc/hostid.

Thx.



On 07/22/2012 04:44 AM,   wrote:
> HI, guy,
> 
> Can you tell me how the "hostid" command work? or how can I control my "hostid"?
> 
> Why my output from "hostid " switch around "0a799228", "0a799a28", "0a799328" randomly?
> 
> Here are lists of my "hostid" information, if any other information needed, please just mail me directly.
> 
> Hope to get you reply soon, thanks.
> 
> [lin <at> centos ~]$ hostid
> 0a799228
> [lin <at> centos ~]$ hostid
> 0a799a28
> [lin <at> centos ~]$ hostid
> 0a799328
> [lin <at> centos ~]$ rpm -q coreutils
> coreutils-8.4-19.el6.i686
> [lin <at> centos ~]$ rpm -q centos-release
> centos-release-6-3.el6.centos.9.i686
> [lin <at> centos ~]$ which hostid
> /usr/bin/hostid
> [lin <at> centos ~]$ ldd /usr/bin/hostid 
>     linux-gate.so.1 =>  (0x00dc0000)
>     libc.so.6 => /lib/libc.so.6 (0x00902000)
>     /lib/ld-linux.so.2 (0x008dc000)
> [lin <at> centos ~]$


------------------ ԭʼÓʼþ ------------------
·¢¼þÈË: "GNU bug Tracking System"<help-debbugs <at> gnu.org>;
·¢ËÍʱ¼ä: 2012Äê7ÔÂ22ÈÕ(ÐÇÆÚÌì) ÍíÉÏ8:12
ÊÕ¼þÈË: " e nQQ  "<55079536 <at> qq.com>; 

Ö÷Ìâ: bug#12023: closed (Re: bug#12023: bug of hostid cmd ?)



Your bug report

#12023: bug of hostid cmd ?

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 12023 <at> debbugs.gnu.org.

-- 
12023: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12023
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.