From c1a40f1beb2c666cd96011a2d2f94e4f069f6bcc Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 21 Jul 2008 07:59:29 +0000 Subject: [PATCH] #198 bug fixups. git-svn-id: file:///svn/unbound/branches/support-1.0@1162 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 3 +++ doc/unbound.conf.5.in | 3 ++- util/random.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 736655822..6bc8d2b29 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +21 July 2008: Wouter + - #198: nicer entropy warning message. manpage OS hints. + 19 July 2008: Wouter - #198: fixup manpage to suggest entropy chroot fix. diff --git a/doc/unbound.conf.5.in b/doc/unbound.conf.5.in index d64bb60a5..7ea02df63 100644 --- a/doc/unbound.conf.5.in +++ b/doc/unbound.conf.5.in @@ -51,7 +51,8 @@ server: directory: "/etc/unbound" username: unbound # make sure it can write to pidfile. # make sure unbound can access entropy from inside the chroot. - # i.e. mount --bind -n /dev/random /etc/unbound/dev/random + # e.g. on linux the use these commands (on BSD, devfs(8) is used): + # mount --bind -n /dev/random /etc/unbound/dev/random # and mount --bind -n /dev/log /etc/unbound/dev/log chroot: "/etc/unbound" # logfile: "/etc/unbound/unbound.log" #uncomment to use logfile. diff --git a/util/random.c b/util/random.c index 39fdd731e..386383752 100644 --- a/util/random.c +++ b/util/random.c @@ -122,7 +122,8 @@ ub_initstate(unsigned int seed, struct ub_randstate* from) ERR_get_error()); return NULL; } - verbose(VERB_OPS, "openssl has no entropy, seeding with time"); + verbose(VERB_OPS, "openssl has no entropy, seeding with time" + " and pid"); } ub_arc4random_stir(s, from); return s; -- 2.47.2