mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-13 21:37:43 +02:00
#198 bug fixups.
git-svn-id: file:///svn/unbound/branches/support-1.0@1162 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user