From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 18:13:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE85016A4CE for ; Wed, 16 Mar 2005 18:13:34 +0000 (GMT) Received: from demon.noconname.org (19.Red-80-26-109.pooles.rima-tde.net [80.26.109.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C81D143D2F for ; Wed, 16 Mar 2005 18:13:33 +0000 (GMT) (envelope-from jncastellano@noconname.org) Received: from [192.168.0.11] (unknown [192.168.0.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by demon.noconname.org (Postfix) with ESMTP id 2E9CE35B4 for ; Wed, 16 Mar 2005 18:10:28 +0100 (CET) Message-ID: <42387745.4090303@noconname.org> Date: Wed, 16 Mar 2005 19:13:25 +0100 From: =?ISO-8859-1?Q?Jos=E9_Nicol=E1s_Castellano?= Organization: No cON Name User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------050909070100090901070008" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Bind + CHROOT + -u binduser fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jncastellano@noconname.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 18:13:34 -0000 This is a multi-part message in MIME format. --------------050909070100090901070008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I installed recently freebsd 5.3 from cd and i test the bind9 port of bind9-9.3.0 i installed correctly and i configure my own zones, but with a particular switches: rc.conf: named_enable="YES" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # path to named, if you want a different one. named_flags="-u bind" # Flags for named named_pidfile="/var/run/named/pid" # Must set this in named.conf as well named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it) named_chroot_autoupdate="YES" # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable="YES" # Symlink the chrooted pid file The result is, when i want to serve dns to address * I decoment the next line in named.conf: listen-on { *; }; 1. And then the syslog reports: named[262]: could not listen on UDP socket: permission denied named[262]: creating IPv4 interface rl0 failed; interface ignored named[262]: not listening on any interfaces If i change the next switch from rc.conf: named_flags="" Now i'm running named as root user.... whycannot run as bind user?? Thanks -- Jose Nicolas Castellano Presidente - Asociación No cON Name Tel: +34 616 727 675 E-Mail : jncastellano@noconname.org WWW: www.noconname.org --------------050909070100090901070008--