misc/134616: named: the working directory is not writable
nospam at ofloo.net
Sun May 17 15:00:07 UTC 2009
>Synopsis: named: the working directory is not writable
>Arrival-Date: Sun May 17 15:00:06 UTC 2009
>Originator: Wouter Snels
>Release: FreeBSD 7.2 amd64
FreeBSD narf.ofloo.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 15 22:55:39 CEST 2009 ofloo at narf.ofloo.net:/usr/obj/usr/src/sys/OFL amd64
When restarting i always get this error in my log that the working directory of named wasn't writable, .. so i chown the /var/named directory to bind, .. but i noticed that after restarting the daemon that the permissions where set back to what they where.
instead of making such fixes:
it might be more reasonable to change, BIND.chroot.dist to use bind instead of root user.
restart the bind daemon
# $FreeBSD: src/etc/mtree/BIND.chroot.dist,v 126.96.36.199 2009/04/15 03:14:26 kensmith Exp $
# Please see the file src/etc/mtree/README before making changes to this file.
/set type=dir uname=root gname=wheel mode=0755 << change uname=bind
More information about the freebsd-bugs