From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/553 Path: main.gmane.org!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.network.djbdns,gmane.comp.sysutils.supervision.general Subject: Re: Linux startup issue Date: Fri, 13 Aug 2004 09:41:08 +0000 Organization: Wacks Wicks Works Sender: news Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1092426644 32699 80.91.224.253 (13 Aug 2004 19:50:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2004 19:50:44 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: dns-return-26640-djbdns=quimby.gnus.org@list.cr.yp.to Fri Aug 13 21:50:30 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bvi4M-0005fy-00 for ; Fri, 13 Aug 2004 21:50:30 +0200 Original-Received: from stoneport.math.uic.edu ([131.193.178.160]) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1Bvi4M-0004cu-00 for ; Fri, 13 Aug 2004 21:50:30 +0200 Original-Received: (qmail 19419 invoked by uid 1004); 13 Aug 2004 19:50:42 -0000 Mailing-List: contact dns-help@list.cr.yp.to; run by ezmlm Original-Received: (qmail 96796 invoked from network); 13 Aug 2004 15:50:42 -0000 Original-Received: from main.gmane.org (80.91.224.249) by stoneport.math.uic.edu with SMTP; 13 Aug 2004 15:50:42 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BveK1-0000fY-00 for ; Fri, 13 Aug 2004 17:50:25 +0200 Original-Received: from cpc3-warw1-3-0-cust110.brhm.cable.ntl.com ([80.5.186.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2004 17:50:24 +0200 Original-Received: from J.deBoynePollard by cpc3-warw1-3-0-cust110.brhm.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2004 17:50:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: dns@list.cr.yp.to Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-warw1-3-0-cust110.brhm.cable.ntl.com User-Agent: Mozilla/5.0 (OS/2; U; Warp 4; en-US; rv:1.8a2) Gecko/20040719 X-Accept-Language: en-gb, en, en-us In-Reply-To: Xref: main.gmane.org gmane.network.djbdns:10529 gmane.comp.sysutils.supervision.general:553 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:553 DP> I use the following script to start/restart DNS services: DP> http://km3t.org/dns 1. This will only be necessary if you have configured your services to initially be in the "down" state. 2. "Restart" is better implemented as "svc -t" rather than as "svc -du", since the latter has the side-effect of changing the current state (to "up") whereas the former does not. DP> Here is my /etc/inittab: DP> http://km3t.org/inittab The root cause of your problem is the fact that you have told "init" not to bring up "svscan" until _after_ all of your "rc[0-9]" scripts have been run. Reconfigure so that "init" starts "svscan" _before_ your run-level scripts are invoked. DP> Any ideas or help appreciated. The only jobs of a "run level" should be * to change the ("up","down") states of a set of services, and * to (indirectly) trigger various one-time transition actions (e.g. by modifying "/etc/runit/{stopit,reboot}").