From owner-freebsd-questions@FreeBSD.ORG Wed Jul 20 09:03:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAC8116A422 for ; Wed, 20 Jul 2005 09:03:31 +0000 (GMT) (envelope-from svein-freebsd-stable@theloosingend.net) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9439C43D4C for ; Wed, 20 Jul 2005 09:03:28 +0000 (GMT) (envelope-from svein-freebsd-stable@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 54DA913C5A6 for ; Wed, 20 Jul 2005 11:03:27 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by merke.itea.ntnu.no (Postfix) with SMTP for ; Wed, 20 Jul 2005 11:03:26 +0200 (CEST) Received: (qmail 55973 invoked by uid 1001); 20 Jul 2005 11:03:26 +0200 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Jul 2005 11:03:26 +0200 Date: Wed, 20 Jul 2005 11:03:26 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= In-Reply-To: <42DBEDD3.60906@t-hosting.hu> Message-ID: <20050720110027.Y48721@maren.thelosingend.net> References: <42DBEDD3.60906@t-hosting.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: rcNG issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stable@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 09:03:31 -0000 * K=F6vesd=E1n G=E1bor [2005-07-18 19:58 +0200] > I have a problem with my rcNG scripts. There are three scripts: named.sh= , > apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving= thus > named should start firstly. The headers of my scripts are: : > And when I enable all the three scripts in rc.conf, the apache hangs bec= ause > it can't resolve the computer's hostname. It's really annoying, I have t= o > manually start it after a reboot, or wait for the cronscript that checks > whether it is running. > What's wrong? I think this magic only works in /etc/rc.d. Try renaming your startup=20 scripts 100.named.sh, 200.apache.sh, etc. I'm not sure, but FreeBSD used=20 to run these scripts in /usr/local/etc/rc.d in alphanumeric order, and I=20 presume that this functionality is preserved in 5.x to allow for backwards= =20 compatibility. Svein Halvor