From owner-freebsd-questions@FreeBSD.ORG Mon Dec 24 05:37:02 2007 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 8481816A41A for ; Mon, 24 Dec 2007 05:37:02 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id A063E13C459 for ; Mon, 24 Dec 2007 05:37:00 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from [10.1.11.1] ([10.1.11.1]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id lBO5WUXA021677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Dec 2007 07:32:32 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown To: freebsd-questions@freebsd.org Date: Mon, 24 Dec 2007 07:43:37 +0200 User-Agent: KMail/1.9.4 References: <476ECA9B.4090805@free.fr> <476EE526.2000501@free.fr> <839aec700712231627k4457c65dx45791c76cd01b2fa@mail.gmail.com> In-Reply-To: <839aec700712231627k4457c65dx45791c76cd01b2fa@mail.gmail.com> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?iso-8859-1?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l?= =?iso-8859-1?q?=3B=7E!42HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?iso-8859-1?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.336 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: BIND9 won't start 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: Mon, 24 Dec 2007 05:37:02 -0000 On Monday 24 December 2007 02:15, Jonathan Horne wrote: > otherwise, there is always 'forcestart' intead of 'start'. and Darren Spruell wrote: > You can get around the need to activate the variable by=20 > prefixing your commands with the 'force' keyword (e.g. > /etc/rc.d/named forcestart, etc.)=20 To start a service which isn't enabled in rc.conf, it's better to use onestart =46rom the rc.subr(8) manpage: force Skip the checks for rcvar being set to ``YES'', and sets rc_force=3DYES. This ignores argument_precmd returning non-zero, and ignores any of the required_* tests failing, and always returns a zero exit status. one Skip the checks for rcvar being set to ``YES'', but performs all the other prerequisite tests. Jonathan