]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Failure to chown pidfile is not fatal any more.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 6 Jul 2010 09:10:12 +0000 (09:10 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 6 Jul 2010 09:10:12 +0000 (09:10 +0000)
git-svn-id: file:///svn/unbound/trunk@2182 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
doc/Changelog

index 1e51c4d490d3dd4a153af7ef36d966ba34483856..d3c0ae12a6672000313e338e7bdc5f04a9f6fd36 100644 (file)
@@ -467,7 +467,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode,
                         * chown to get permissions */
                        if(cfg->username && cfg->username[0]) {
                          if(chown(daemon->pidfile, uid, gid) == -1) {
-                               fatal_exit("cannot chown %u.%u %s: %s",
+                               log_err("cannot chown %u.%u %s: %s",
                                        (unsigned)uid, (unsigned)gid,
                                        daemon->pidfile, strerror(errno));
                          }
index 6036d738ac5ec42c9a4579ecaa8520520685cea9..7b0af2573a2fceed4bfff0240d94ab6c5d4fdd63 100644 (file)
@@ -1,3 +1,6 @@
+6 July 2010: Wouter
+       - failure to chown the pidfile is not fatal any more.
+
 5 July 2010: Wouter
        - log if a server is skipped because it is on the donotquery list,
          at verbosity 4, to enable diagnosis why no queries to 127.0.0.1.