[OE-core] [PATCH V2] initscripts: add urandom directory into volatiles

ChenQi Qi.Chen at windriver.com
Wed Dec 19 02:20:37 UTC 2012


On 12/18/2012 07:23 PM, Burton, Ross wrote:
> On 18 December 2012 06:23, Ming Liu<ming.liu at windriver.com>  wrote:
>> /etc/init.d/urandom fails to start/stop because it tries to save
>> random-seed into /var/lib/urandom folder which does not exist in the
>> file system.
>>
>> Fixed by adding /var/lib/urandom into volatiles.
> Doesn't this mean that the persistent state of urandom will be saved
> to a ramdisk?
>
> Mixing up persistent and transient state in /var is exactly why /run
> exists, and why we should switch to support /run as soon as
> possible...
FWIW, there's bug about /run directory support -- 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3181.

Cheers,
Chen Qi
> Ross
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>





More information about the Openembedded-core mailing list