diff --git a/daemon/unbound.c b/daemon/unbound.c index 0ceee538c..429d14842 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -511,7 +511,7 @@ perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, if(cfg->username && cfg->username[0] && cfg_uid != (uid_t)-1) { # ifdef HAVE_CHOWN if(chown(daemon->pidfile, cfg_uid, cfg_gid) == -1) { - log_err("cannot chown %u.%u %s: %s", + verbose(VERB_QUERY, "cannot chown %u.%u %s: %s", (unsigned)cfg_uid, (unsigned)cfg_gid, daemon->pidfile, strerror(errno)); } diff --git a/doc/Changelog b/doc/Changelog index 91b9d2822..8e1d9e46b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +12 January 2016: Wouter + - Fix #734: Do not log an error when the PID file cannot be chown'ed. + Patch from Simon Deziel. + 11 January 2016: Wouter - Fix test if -pthreads unused to use better grep for portability.