diff --git a/daemon/unbound.c b/daemon/unbound.c index 6dba9aa51..bbc89de14 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -128,10 +128,6 @@ apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose, 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 || cfg->msg_cache_size != slabhash_get_size(daemon->env->msg_cache) || cfg->msg_cache_slabs != daemon->env->msg_cache->size) { diff --git a/doc/Changelog b/doc/Changelog index b289b6387..8f87fd895 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 - function pointer whitelist.