From owner-freebsd-current@FreeBSD.ORG Thu Dec 22 16:55:56 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD77E16A41F; Thu, 22 Dec 2005 16:55:56 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2729D43D49; Thu, 22 Dec 2005 16:55:56 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jBMGtr2K015360; Thu, 22 Dec 2005 08:55:53 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jBMGtrBw015359; Thu, 22 Dec 2005 08:55:53 -0800 Date: Thu, 22 Dec 2005 08:55:53 -0800 From: Brooks Davis To: Denis Shaposhnikov Message-ID: <20051222165553.GB13683@odin.ac.hmc.edu> References: <87hd91fm3n.fsf@neva.vlink.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <87hd91fm3n.fsf@neva.vlink.ru> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@freebsd.org, Doug Barton Subject: Re: troubles with /usr/local/etc/rc.d scripts in jail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 16:55:56 -0000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2005 at 01:43:40PM +0300, Denis Shaposhnikov wrote: > Hi! >=20 > Scripts with PROVIDE header don't running on jail's startup. Because > early_late_divider=3D"mountcritlocal" in /etc/defaults/rc.conf and > mountcritlocal has nojail. This is one probleam. I might make the early late divider NETWORKING. > The second problem is "# REQUIRE: NETWORKING SERVERS" in a lots of > scripts because they are running before ldconfig in this > case. apache2.sh and mysql-server.sh for example. Said scripts are broken in most casees. They should be "# REQUIRE: DAEMON". Very few things should start between SERVERS and DAEMON. The system isn't really bootstrapped until DAEMON. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDqtqYXY6L6fI4GtQRAmO+AJ9dZTxS5dB+FTs5uAWUYvVESY2ufwCgzePl a3hbqlmI5hP9Cvb0rUd/ykU= =Adwy -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--