[systemd-devel] [PATCH][v1]random-seed: Save random seed as early as possible
cee1
fykcee1 at gmail.com
Fri Jun 19 06:34:57 PDT 2015
Hi all,
As discussed at
http://lists.freedesktop.org/archives/systemd-devel/2015-June/033075.html,
this patch saves seed with ** good ** random number as early as
possible, as opposed to the original behavior, which saves a random
number when shutdown.
Note:
1. If seed loading failed, it will not save a new seed. May not be the
proper behavior?
2. The STATUS sent by the second and third sd_notify() are not shown
in "systemctl status systemd-random-seed.service", need some kind of
improvement.
Please comment and give suggestions :)
--
Regards,
- cee1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-random-seed-Save-seed-with-a-good-random-number-earl.patch
Type: application/octet-stream
Size: 9533 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150619/b390a5ab/attachment-0001.obj>
More information about the systemd-devel
mailing list