From owner-freebsd-bugs@FreeBSD.ORG Sun May 17 15:00:07 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DDBB106564A for ; Sun, 17 May 2009 15:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C42408FC1F for ; Sun, 17 May 2009 15:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4HF06FH002058 for ; Sun, 17 May 2009 15:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4HF06HK002051; Sun, 17 May 2009 15:00:06 GMT (envelope-from gnats) Resent-Date: Sun, 17 May 2009 15:00:06 GMT Resent-Message-Id: <200905171500.n4HF06HK002051@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wouter Snels Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22A9B106566C for ; Sun, 17 May 2009 14:56:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1197B8FC0A for ; Sun, 17 May 2009 14:56:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4HEuP0K082245 for ; Sun, 17 May 2009 14:56:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4HEuPi7082244; Sun, 17 May 2009 14:56:25 GMT (envelope-from nobody) Message-Id: <200905171456.n4HEuPi7082244@www.freebsd.org> Date: Sun, 17 May 2009 14:56:25 GMT From: Wouter Snels To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/134616: named[32238]: the working directory is not writable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 15:00:07 -0000 >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@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: