]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
No early logfile open.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:43:32 +0000 (07:43 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 9 Oct 2007 07:43:32 +0000 (07:43 +0000)
git-svn-id: file:///svn/unbound/trunk@667 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog

index 6dba9aa516e0dc3bfdd4ae84999e925286624753..bbc89de14ca5f0c8f252b0d9d9a424b4d792756a 100644 (file)
@@ -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) {
index b289b63875f0896c1ea69dce82f88866c0580115..8f87fd89523267e08acfb10f9979a8f387e9081c 100644 (file)
@@ -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.