From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 13:26:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 916D516A417 for ; Fri, 27 Jul 2007 13:26:08 +0000 (UTC) (envelope-from info@plot.uz) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id DD00413C457 for ; Fri, 27 Jul 2007 13:26:07 +0000 (UTC) (envelope-from info@plot.uz) Received: by mu-out-0910.google.com with SMTP id w9so850150mue for ; Fri, 27 Jul 2007 06:26:06 -0700 (PDT) Received: by 10.82.181.10 with SMTP id d10mr2611709buf.1185542766251; Fri, 27 Jul 2007 06:26:06 -0700 (PDT) Received: from plot.uz ( [83.221.169.211]) by mx.google.com with ESMTPS id 34sm823771nfu.2007.07.27.06.26.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 27 Jul 2007 06:26:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable version=3.1.7 X-Spam-Report: Received: from localhost by plot.uz (MDaemon PRO v9.5.5) with DomainPOP id md50000004069.msg for ; Fri, 27 Jul 2007 18:26:01 +0500 Delivered-To: aleksey@plot.uz Received: by 10.100.111.17 with SMTP id j17cs36257anc; Fri, 27 Jul 2007 06:21:11 -0700 (PDT) Received: by 10.115.90.1 with SMTP id s1mr2902347wal.1185542470342; Fri, 27 Jul 2007 06:21:10 -0700 (PDT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.google.com with ESMTP id v39si2940285wah.2007.07.27.06.21.08; Fri, 27 Jul 2007 06:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of owner-freebsd-isp@freebsd.org designates 69.147.83.53 as permitted sender) DomainKey-Status: bad (test mode) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 29DE5304D1; Fri, 27 Jul 2007 13:19:45 +0000 (UTC) (envelope-from owner-freebsd-isp@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 2517116A4AB; Fri, 27 Jul 2007 13:19:45 +0000 (UTC) (envelope-from owner-freebsd-isp@freebsd.org) Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A922F16A41A for ; Fri, 27 Jul 2007 13:19:38 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from web54301.mail.re2.yahoo.com (web54301.mail.re2.yahoo.com [206.190.49.111]) by mx1.freebsd.org (Postfix) with SMTP id 4712F13C468 for ; Fri, 27 Jul 2007 13:19:38 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: (qmail 52488 invoked by uid 60001); 27 Jul 2007 13:19:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Qo9uCZFAzllgvp3Ak6rD9LBc250c49E8YDMZcPuN7dbBSxQumQnqguEUgohseXE2Vzjsf+IVuan7slCO2zN2DPSB4SP5H6jU5mWbD2r+iAhQAO0yjt7UGOByL1sfEBQCnhjB3lKikVIxbtzy0f9R0Z+Ab6Tv5wwjsdru1ifFe9o=; X-YMail-OSG: jgZwOBAVM1nP35midtyi8lSzvhdGgHGfup5LYpyk_.3Feu9LRqCxNjHrrqOTmjCKww-- Received: from [61.15.61.52] by web54301.mail.re2.yahoo.com via HTTP; Fri, 27 Jul 2007 06:19:37 PDT Date: Fri, 27 Jul 2007 06:19:37 -0700 (PDT) To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <413095.46144.qm@web54301.mail.re2.yahoo.com> X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Errors-To: owner-freebsd-isp@freebsd.org X-Return-Path: owner-freebsd-isp@freebsd.org X-Envelope-From: owner-freebsd-isp@freebsd.org X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Spam-Processed: plot.uz, Fri, 27 Jul 2007 18:26:02 +0500 From: Patrick Dung Cc: freebsd-isp@freebsd.org Subject: ISC bind9 with dynamic DNS update (chroot problem) X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 13:26:08 -0000 Hi I use FreeBSD 6.2 and the base bind9. For dynamic DNS update, bind9 automatically generate the journal file (end in .jnl). The default config is to use chroot and the running user as 'bind'. The problem is that after named is started (/etc/init.d/named start), the default chroot directory /var/named/etc/named permission will be reset to own by root. So the named daemon (run as user 'bind') cannot create the journal file and complain: Jul 27 21:06:54 fbsd62 named[2862]: general: localdomain.db.jnl: create: permission denied One temp fix is to use chroot and run as root, any suggestions? Regards Patrick ____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"