use host uuids and account ids as replication ids instead of creating our own
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Confirmed
|
Wishlist
|
Chad Miller |
Bug Description
There may be a host UUID that makes machines unique; I see something in "lshw" output. That, with a uid make unique id that can be used, instead of generating a UUID and storing that in couchdb. The danger of replicating a self-identity record is great, and this may be an easy way to generate ids.
First: Figure out where 'lshw' gets its UUID. Make sure it's a host UUID and not a "configuration" uuid (something unique to this boot signature.)
$ lshw
WARNING: you should run this program as super-user.
^CI (sysfs)
cmiller@zippy:~ $ sudo lshw
zippy
description: Mini Tower Computer
product: Dimension 4700
vendor: Dell Inc.
serial: C7NK971
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
configuration: administrator_