diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-05 20:57:31 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-05 20:57:31 +0000 |
| commit | d203fe67af73ef0a52a248b8b85839359682823b (patch) | |
| tree | 2a3415bcdb70574e8e42e19058951db06cc28db0 | |
| parent | b9c90edb4f0236e66b05d4b324b47dacbdda62cd (diff) | |
| download | s6-linux-utils-d203fe67af73ef0a52a248b8b85839359682823b.tar.gz | |
Advise rngseed -rw at boot
| -rw-r--r-- | doc/rngseed.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/rngseed.html b/doc/rngseed.html index d08f56c..cbd29ab 100644 --- a/doc/rngseed.html +++ b/doc/rngseed.html @@ -125,6 +125,11 @@ seed file management. </li> point of view. <tt>rngseed -r</tt> reads from the file (and unlinks it) and writes to the kernel RNG. <tt>rngseed -w</tt> reads from the kernel RNG and writes to the file. </li> + <li> It is a good idea to use <tt>rngseed -rw</tt> at boot time, rather than +<tt>rngseed -r</tt>. This ensures that a seed file will be present on next boot +even if the system doesn't undergo a clean shutdown (e.g. the power fails). +Of course, this does not preclude running <tt>rngseed -w</tt> in the shutdown +sequence, so the next boot runs with the freshest possible seed. </li> <li> <tt>rngseed</tt> is inspired by Jason Donenfeld's <a href="https://git.zx2c4.com/seedrng/about/">seedrng</a> program. It is, however, an independent implementation of the same concept. </li> |
