Force a standard umask in /sbin/resolvd/resolvd.c. If not done and the default mask is a restrictive one, /etc/resolv.conf ends up not readable.
Regards, JMPC
diff --git sbin/resolvd/resolvd.c sbin/resolvd/resolvd.c index 2ffdfc6ddb4..133559819f6 100644 --- sbin/resolvd/resolvd.c +++ sbin/resolvd/resolvd.c @@ -192,6 +192,8 @@ main(int argc, char *argv[]) if (geteuid()) errx(1, "need root privileges"); + umask(0022); + lockfd = open(_PATH_LOCKFILE, O_CREAT|O_RDWR|O_EXLOCK|O_NONBLOCK, 0600); if (lockfd == -1) { if (errno == EAGAIN)