From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 21:41:26 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 2155C16A4CE for ; Thu, 10 Mar 2005 21:41:26 +0000 (GMT) Received: from cmlapp400.van.ca.siteprotect.com (cmlapp400.van.ca.siteprotect.com [204.174.223.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0CC143D53 for ; Thu, 10 Mar 2005 21:41:25 +0000 (GMT) (envelope-from comm@rwx.ca) Received: from dean (S0106000ea67c0d69.vc.shawcable.net [24.80.108.178]) by cmlapp400.van.ca.siteprotect.com (Postfix) with ESMTP id 2FDD6E79D for ; Thu, 10 Mar 2005 13:41:25 -0800 (PST) From: "comm" To: Date: Thu, 10 Mar 2005 13:44:24 -0800 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcUlulMqT+HfQvdtQWug80g5s2esBQ== Message-Id: <20050310214125.2FDD6E79D@cmlapp400.van.ca.siteprotect.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: chroot jail and syslogd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 21:41:26 -0000 Hello, I'm trying to setup bind in a chroot jail, and have it log to syslogd. I'm using fbsd5.3 and the syslogd option: root 22858 0.0 0.1 1312 780 ?? Ss 12:19AM 0:00.16 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log - I have bind running with the following options: /usr/sbin/named -c /etc/namedb/named.conf -u bind -t /var/named The jail is located in /var/namedb, and the socket for syslogd is /var/named/var/run/log: srw-rw-rw- 1 bind bind 0 Mar 10 00:19 log When I try to start bind I receive the following: Mar 10 00:20:38 taco named[22919]: starting BIND 9.3.0 -c /etc/namedb/named.conf -u bind -t /var/named Mar 10 00:20:38 taco named[22919]: command channel listening on 127.0.0.1#953 Mar 10 00:20:38 taco named[22919]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/errno2result.c:109 : unexpected error: Mar 10 00:20:38 taco kernel: pid 22919 (named), uid 53: exited on signal 6 Mar 10 00:20:38 taco named[22919]: unable to convert errno to isc_result: 45: Operation not supported Mar 10 00:20:38 taco named[22919]: logging channel 'audit_log' file '/var/run/log': unexpected error Bind's config: channel audit_log { // Send the security related messages to a separate file. file "/var/run/log"; severity debug; print-time yes; }; Running BIND 9.3.0 Anyone have any ideas why this aint working? Tried to dig up some information on google but no luck -JT