[Ovirt-devel] [PATCH] Changed the source for UUID to be dmidecode for now.

Perry N. Myers pmyers at redhat.com
Wed Jun 25 20:12:41 UTC 2008


Darryl L. Pierce wrote:
> Daniel P. Berrange wrote:
>>   $ lshal | grep system.hardware.uuid
>>   system.hardware.uuid = 'E9CD5280-4897-11CB-9596-A088B277D677'  (string)
>>
>> This has added benefit of not needing root privileges
> 
> Just thinking about this: the only user on the managed node is root and 
> would also be the only person at this point to running 
> /etc/init.d/ovirt-post. So, given that and the relative increase size in 
> using hal, wouldn't it be better to use dmidecode instead?
> 

Just use dmidecode for whatever hw information you need for now.  Later we 
can move to hal if libvirt requires it.  But as clalance points out, even 
on bare metal hardware you're not guaranteed to get a unique UUID.  So 
using dmidecode to get that may be moot.

Perry

-- 
|=-        Red Hat, Engineering, Emerging Technologies, Boston        -=|
|=-                     Email: pmyers at redhat.com                      -=|
|=-         Office: +1 412 474 3552   Mobile: +1 703 362 9622         -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|




More information about the ovirt-devel mailing list