From bfc0ddd0e08281ecc56c79133bfcfcff8bdd1749 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 6 Jul 2010 09:10:12 +0000 Subject: [PATCH] Failure to chown pidfile is not fatal any more. git-svn-id: file:///svn/unbound/trunk@2182 be551aaa-1e26-0410-a405-d3ace91eadb9 --- daemon/unbound.c | 2 +- doc/Changelog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/unbound.c b/daemon/unbound.c index 1e51c4d49..d3c0ae12a 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -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)); } diff --git a/doc/Changelog b/doc/Changelog index 6036d738a..7b0af2573 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. -- 2.47.2