From owner-freebsd-questions@FreeBSD.ORG Fri Jun 6 19:19:44 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 F0419106566C for ; Fri, 6 Jun 2008 19:19:44 +0000 (UTC) (envelope-from casey@phantombsd.org) Received: from mail.phantombsd.org (mail.phantombsd.org [74.94.69.226]) by mx1.freebsd.org (Postfix) with ESMTP id ECD798FC24 for ; Fri, 6 Jun 2008 19:19:44 +0000 (UTC) (envelope-from casey@phantombsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.phantombsd.org (Postfix) with ESMTP id 9443B11A0003 for ; Fri, 6 Jun 2008 12:19:44 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -3.27 X-Spam-Level: X-Spam-Status: No, score=-3.27 tagged_above=-10 required=4 tests=[AWL=-0.771, BAYES_00=-2.599, RDNS_NONE=0.1] Received: from mail.phantombsd.org ([127.0.0.1]) by localhost (mail.phantombsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eb0oxDB03zO2 for ; Fri, 6 Jun 2008 12:19:44 -0700 (PDT) Received: from mail.phantombsd.org (tomcat.phantombsd.org [192.168.1.2]) by mail.phantombsd.org (Postfix) with ESMTP id 3070711A0002 for ; Fri, 6 Jun 2008 12:19:44 -0700 (PDT) Date: Fri, 6 Jun 2008 12:19:44 -0700 (PDT) From: Casey Scott To: freebsd-questions@freebsd.org Message-ID: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [199.3.115.254] X-Mailer: Zimbra 5.0.5_GA_2201.RHEL5 (ZimbraWebClient - FF2.0 (Win)/5.0.5_GA_2201.RHEL5) Subject: 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: Fri, 06 Jun 2008 19:19:45 -0000 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. TIA, Casey