]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
logfile first open bad permissions.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:11:14 +0000 (07:11 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:11:14 +0000 (07:11 +0000)
git-svn-id: file:///svn/unbound/trunk@666 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c

index cde19e5fa3b57fd0a5f68c0ba3e1833a9dbb490d..6dba9aa516e0dc3bfdd4ae84999e925286624753 100644 (file)
@@ -128,9 +128,10 @@ 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) {