[Buildroot] [PATCH v2] package/urandom-scripts: hash old seed with new seed when saving

Peter Korsgaard peter at korsgaard.com
Sat Apr 16 11:12:54 UTC 2022


>>>>> "Nicolas" == Nicolas Cavallari <Nicolas.Cavallari at green-communications.fr> writes:

Hi,

 >> to work fine. So it must be something else then...
 >> Thank you for your help !

 > If /var/lib/random-seed does not already exist during boot then the
 > new version of the script will fail and not create it, because start
 > is "init_rng && save_random_seed" and init_rng will fail.  If
 > S20urandom stop is never called then this may explain the issue.

 > I pointed this out before but it must have been lost:

 > https://lore.kernel.org/all/20220324103939.GD3649946@scaer/T/#md433db1bd1e08f3476eefd4e9a83ead5e12b1276

Ahh, indeed. Care to send a patch to fix it?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list