[libvirt] [PATCHv3 1/5] smartcard: add XML support for <smartcard> device

Eric Blake eblake at redhat.com
Wed Jan 26 18:20:50 UTC 2011


On 01/26/2011 11:09 AM, Alon Levy wrote:
>> What does QEMU/NSS do with the certificate database ? Is it a readonly
>> database, or does QEMU/NSS also write to this ? I'm wondering why we
>> need to specify x509 certificates, as well as the certificate database ?
> 
> The cert1/cert2/cert3 names are only internal references in that db, they
> don't have a global meaning (i.e. it isn't filenames or any other type of uri).

That changes things in my implementation.  That means that
cert1/cert2/cert3 do not need _any_ SELinux labeling, because they are
not files in the file system (just names within a database);
furthermore, since they are not files, my documentation efforts of
calling them out as absolute files in the docs needs tweaking.
Meanwhile, the database _does_ need SELinux labeling (and I'm assuming
here that the database argument, if provided, must be an absolute path
to the actual file containing the database of the three certificate
names).  What does the database default to if you omit it from the qemu
command line?

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110126/3b23a6dd/attachment-0001.sig>


More information about the libvir-list mailing list