mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
No early logfile open.
git-svn-id: file:///svn/unbound/trunk@667 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f4049b54c4
commit
75bfcb8c91
2 changed files with 5 additions and 4 deletions
|
|
@ -128,10 +128,6 @@ apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose,
|
||||||
log_err("cwd: malloc failed");
|
log_err("cwd: malloc failed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*** TODO this has bad permissions on the logfile
|
|
||||||
if(!debug_mode) {
|
|
||||||
log_init(cfg->logfile, cfg->use_syslog);
|
|
||||||
} */
|
|
||||||
if(!daemon->env->msg_cache ||
|
if(!daemon->env->msg_cache ||
|
||||||
cfg->msg_cache_size != slabhash_get_size(daemon->env->msg_cache) ||
|
cfg->msg_cache_size != slabhash_get_size(daemon->env->msg_cache) ||
|
||||||
cfg->msg_cache_slabs != daemon->env->msg_cache->size) {
|
cfg->msg_cache_slabs != daemon->env->msg_cache->size) {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
6 October 2007: Wouter
|
||||||
|
- removed logfile open early. It did not have the proper permissions;
|
||||||
|
it was opened as root instead of the user. And we cannot change user
|
||||||
|
id yet, since chroot and bind ports need to be done.
|
||||||
|
|
||||||
5 October 2007: Wouter
|
5 October 2007: Wouter
|
||||||
- function pointer whitelist.
|
- function pointer whitelist.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue