[LEDE-DEV] [PATCH v4] base-files: seed /dev/urandom
Etienne Champetier
champetier.etienne at gmail.com
Thu Jun 23 08:55:08 PDT 2016
2016-06-23 17:05 GMT+02:00 Jo-Philipp Wich <jo at mein.io>:
> Hi.
>
>> why put multiple possibly unrelated functions under one option?
>
> To have a global "write to flash is okay" option instead of needing to
> change different options with different semantics in different places.
if it's disabled by default i don't see the need for a global "write
to flash is okay".
Also do we have that much different options?
>
> For example if I want to make the lease file persistent, I would change
> the path in the config from /tmp/ to /etc/. But yes, no need to group stuff.
if we have a global and a specific config, how do you mix them up (0, 1, undef)?
>
> What about following the dnsmasq approach though?
> Setting "option randomseed /etc/random.seed" would make it persistent,
> the default would be empty or something in /var.
no need to write it if we lose it on reboot ...
>
> ~ Jo
>
More information about the Lede-dev
mailing list