FYI, on latest trunk. I think it is just a typo :-) --- unbound.c 2016-02-04 22:02:47.249598374 +0700 +++ unbound.c+ 2016-02-04 22:03:32.330756783 +0700 @@ -487,7 +487,7 @@ /* true if pidfile is inside chrootdir, or nochroot */ pidinchroot = !(cfg->chrootdir && cfg->chrootdir[0]) || (cfg->chrootdir && cfg->chrootdir[0] && - strncmp(daemon->pidfile, cfg->chrootdir, + strncmp(cfg->pidfile, cfg->chrootdir, strlen(cfg->chrootdir))==0);
/* check old pid file before forking */ Regards, P.Y. Adi Prasaja