[Openstack] Random source if not set

Davanum Srinivas davanum at gmail.com
Mon Apr 27 12:37:36 UTC 2015


Tim,

Looking at Nova sources [1] and libvirt documentation [2]. The default
value of rng_dev_path None means libvirt will use /dev/random

thanks,
dims

[1] https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L3767
[2] https://libvirt.org/formatdomain.html#elementsRng

On Mon, Apr 20, 2015 at 11:45 AM, Tim Bell <Tim.Bell at cern.ch> wrote:
> According to the nova.conf documentation, there is a parameter for the
> rng_dev_path for the source of the /dev/random on guests which are
> appropriately enabled.
>
>
>
> The help in the documentation at that the default value is <None> and the
> permitted options are /dev/random or /dev/hwrng.
>
>
>
> If these are the permitted values, what is the impact of the default setting
> “<None>” which is not in the list ?
>
>
>
> What path would be used for the entropy if the default is used ?
>
>
>
> From nova.conf,
>
>
>
> # A path to a device that will be used as source of entropy on
>
> # the host. Permitted options are: /dev/random or /dev/hwrng
>
> # (string value)
>
> #rng_dev_path=<None>
>
>
>
> Tim
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>



-- 
Davanum Srinivas :: https://twitter.com/dims




More information about the Openstack mailing list