Package: coreutils
Version: 8.5-1
Severity: normal
File: /usr/bin/hostid
Tags: upstream

I have never come across a (Debian) system where /usr/bin/hostid
didn't print 007f0101. That is because Debian uses /etc/hosts to map
127.0.1.1 to the hostname(s).

Arguably, having a host UUID would be quite nice, but as there is no
"one" IPv4 of a host, it's kinda useless to try to go that road.
Unless hostid [well, gethostid()] can be replaced with something
sensible, I suggest that it be removed from coreutils, or disabled,
vandalised, or otherwise physically harmed.

Btw, the info page says:

  the 32-bit quantity happens to be closely related to the system's
  Internet address, but that isn't always the case.

and that's clearly wrong. Again, the days when a system had "an
Internet address" are long gone, and apparently, it isn't even
always the case.

Feel free to reassign to glibc, where gethostid() comes from}.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.49-3   Access control list shared library
ii  libattr1                      1:2.4.44-2 Extended attribute shared library
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to