From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 00:32:57 2008 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 D5FEA106564A for ; Sat, 7 Jun 2008 00:32:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 90F818FC0C for ; Sat, 7 Jun 2008 00:32:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m570Wfsq005773; Fri, 6 Jun 2008 19:32:42 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080606193040.0256da00@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 06 Jun 2008 19:32:36 -0500 To: Casey Scott , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.or g> References: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.org> Mime-Version: 1.0 X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m570Wfsq005773 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: rc.d/named X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 00:32:57 -0000 At 02:19 PM 6/6/2008, Casey Scott wrote: >I have quite a bit of trouble with the /etc/rc.d/named script. The source >of the biggest issue was the rc_run_command was not issuing the run command >with "/usr/sbin/named". It was just running the arguments w/o the executable. > >e.g. -t /var/named vs. /usr/sbin/named -t /var/named > >I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf >related to named is a correction to the chroot directory... For the time >being that issue has been resolve by hacking the rc.conf to issue the >executable where the flags are specified. However, when issuing >/etc/rc.d/named >I get: > >named not running? (check /var/run/named/pid). > > >/var/run/named/pid contains the correct PID, and has permissions: > >lrwxr-xr-x 1 root bind > >Anyone else having trouble with this? None of the other init scripts are >having >problems. You need to set: named_chroot_autoupdate named_chrootdir named_flags and possibly: named_uid in /etc/rc.conf I have all of these values set. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.