misc/134616: named[32238]: the working directory is not writable
Wouter Snels
nospam at ofloo.net
Sun May 17 15:00:07 UTC 2009
>Number: 134616
>Category: misc
>Synopsis: named[32238]: the working directory is not writable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 17 15:00:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wouter Snels
>Release: FreeBSD 7.2 amd64
>Organization:
>Environment:
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
>Description:
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:
directory "/etc/namedb/letskeepthisdirwriteable";
it might be more reasonable to change, BIND.chroot.dist to use bind instead of root user.
>How-To-Repeat:
restart the bind daemon
>Fix:
# $FreeBSD: src/etc/mtree/BIND.chroot.dist,v 1.6.20.1 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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list