Source-Changes-HG archive

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

[src/trunk]: src/share/man/man5 Document random_seed and random_file.



details:   https://anonhg.NetBSD.org/src/rev/754622559bbd
branches:  trunk
changeset: 325990:754622559bbd
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Jan 15 11:42:43 2014 +0000

description:
Document random_seed and random_file.

diffstat:

 share/man/man5/rc.conf.5 |  24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r bf6fbccf3cc4 -r 754622559bbd share/man/man5/rc.conf.5
--- a/share/man/man5/rc.conf.5  Wed Jan 15 10:52:11 2014 +0000
+++ b/share/man/man5/rc.conf.5  Wed Jan 15 11:42:43 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rc.conf.5,v 1.156 2013/01/13 19:56:13 wiz Exp $
+.\"    $NetBSD: rc.conf.5,v 1.157 2014/01/15 11:42:43 apb Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -55,7 +55,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd October 2, 2012
+.Dd January 15, 2014
 .Dt RC.CONF 5
 .Os
 .Sh NAME
@@ -432,6 +432,26 @@
 .Xr quotacheck 8
 and
 .Xr quotaon 8 .
+.It Sy random_seed
+Boolean value.
+During boot-up, runs the
+.Xr rndctl 8
+utility with the
+.Fl L
+flag to seed the random number subsystem from an entropy file.
+During shutdown, runs the
+.Xr rndctl 8
+utility with the
+.Fl S
+flag to save some random information to the entropy file.
+The entropy file name is specified by the
+.Sy random_file
+variable, and defaults to
+.Pa /var/db/entropy-file .
+The entropy file must be on a local file system that is writable early during
+boot-up (just after the file systems specified in
+.Sy critical_filesystems_local
+have been mounted), and correspondingly late during shutdown.
 .It Sy rndctl
 Boolean value.
 Runs the



Home | Main Index | Thread Index | Old Index