Re: should random seeds go into /var/cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Lennart,

On Mon, May 2, 2022 at 11:19 AM Lennart Poettering
<lennart@xxxxxxxxxxxxxx> wrote:
> I think /var/cache/ is not the right place, because of the weak
> persistency guarantees on it. i.e. /var/cache/ much like /var/tmp/
> means "hey, please keep this, but it's OK if you don't". I think
> that's too little though for the random seed, because if the random
> seed is not kept it's entirely useless. There is no need to keep a
> random seed in the file system if it would be flushed out on each
> boot...
>
> /var/lib/ otoh sounds much more appropriate as it means "please keep
> this", and that's exactly the persistance requirement we want here.

Alright, thanks a lot for the clarification. Seems like a reasonable
argument. I'll keep things as-is.

Jason



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux