also sprach Bob Proulx <b...@proulx.com> [2013.02.21.1038 +1300]:
> Also, AFAICS gethostid() only reads the first four bytes from the
> file.  Therefore using a symlink to /var/lib/dbus/machine-id would not
> yield the desired result.  It would reduce the entropy there down to
> the first four characters from it.  Mapping from binary data to the
> character representation of it would be incorrect.

I suggest initialising the host ID from the UUID of the root
filesystem…

-- 
 .''`.   martin f. krafft <madduck@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
 
"if they can get you asking the wrong questions,
 they don't have to worry about answers."
                                                     -- thomas pynchon

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to