#198 bug fixups.

git-svn-id: file:///svn/unbound/branches/support-1.0@1162 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-07-21 07:59:29 +00:00
parent 56d9e9677e
commit c1a40f1beb
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -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.
+2 -1
View File
@@ -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.
+2 -1
View File
@@ -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;