From owner-freebsd-stable@FreeBSD.ORG Tue Nov 11 19:14:13 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D382F106564A for ; Tue, 11 Nov 2008 19:14:13 +0000 (UTC) (envelope-from geoff.sweet@x10.com) Received: from officesmtp.x10.com (officesmtp.x10.com [63.211.211.254]) by mx1.freebsd.org (Postfix) with ESMTP id B456D8FC1D for ; Tue, 11 Nov 2008 19:14:13 +0000 (UTC) (envelope-from geoff.sweet@x10.com) Received: from [192.168.11.201] (user201.x10wti.com [63.211.211.201]) by officesmtp.x10.com (8.13.4/8.13.4) with ESMTP id mABIj3i0098211 for ; Tue, 11 Nov 2008 10:45:05 -0800 (PST) From: Geoff Sweet To: freebsd-stable@freebsd.org Content-Type: text/plain Date: Tue, 11 Nov 2008 10:45:04 -0800 Message-Id: <1226429104.8047.5.camel@gsweet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: /usr/local/etc/rc.d getting run twice X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 19:14:13 -0000 Greetings, I have new freshly installed servers of FreeBSD 6.3. We started our migration before 6.4 was released. Anyway we have some custom tools that we have built startup scripts for and placed them into /usr/local/etc/rc.d. However the problem is that these tools get called twice to startup. Thus leaving us with two instances of the tools running. I've read a thread similar to this question in the mailing list archive however it had to do with upgrading and didn't seem to apply to my issue. I've added a buch of logic to the script to try to determine if the tool is running or not, but that seems like band aiding the issue instead of fixing the problem. Any advice? -Geoff Sweet