From: Wouter Wijngaards Date: Tue, 9 Oct 2007 07:43:32 +0000 (+0000) Subject: No early logfile open. X-Git-Tag: release-0.6~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75bfcb8c91af09430ff7b28b4d372544a81523cf;p=thirdparty%2Funbound.git No early logfile open. git-svn-id: file:///svn/unbound/trunk@667 be551aaa-1e26-0410-a405-d3ace91eadb9 --- 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.