From owner-freebsd-ports@FreeBSD.ORG Tue Dec 6 05:51:32 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EFCE16A41F; Tue, 6 Dec 2005 05:51:32 +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 C794643D5E; Tue, 6 Dec 2005 05:51:31 +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 jB65jhgV006488; Mon, 5 Dec 2005 21:45:43 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jB65jhRE006487; Mon, 5 Dec 2005 21:45:43 -0800 Date: Mon, 5 Dec 2005 21:45:43 -0800 From: Brooks Davis To: Yar Tikhiy Message-ID: <20051206054543.GB4661@odin.ac.hmc.edu> References: <20051205145805.0db6cf26@it.buh.tecnik93.com> <20051205161656.GC7653@odin.ac.hmc.edu> <20051205171416.GA88485@comp.chem.msu.su> <20051205220053.GB24743@odin.ac.hmc.edu> <20051206051329.GA30433@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <20051206051329.GA30433@comp.chem.msu.su> 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: Brooks Davis , Ion-Mihai Tetcu , ports@freebsd.org, freebsd-rc@freebsd.org Subject: Re: RC keywords question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 05:51:32 -0000 --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 06, 2005 at 08:13:30AM +0300, Yar Tikhiy wrote: > On Mon, Dec 05, 2005 at 02:00:53PM -0800, Brooks Davis wrote: > > On Mon, Dec 05, 2005 at 08:14:16PM +0300, Yar Tikhiy wrote: > > > Just an additional remark: > > >=20 > > > In a system with complex interactions it can be hard to order rc.d > > > scripts properly without help from services they start. For instance, > > > the database can REQURE "mail". Then either the mail daemon should > > > spool mail until dspam starts after the database, or dspam should > > > start early and return a temporary failure condition to the mail > > > daemon until it can connect to the database. Similar considerations > > > apply to other practical cases. > >=20 > > Loops are definitely something to be watched out for, but this one is > > a somewhat poor example, IMO. Looking at the "mail" scripts in the > > base, it's clear that they are intended to provide the local delivery > > agent. If the particular mail system needs daemons running for local > > mail submission to work, those daemons must start much earlier (probably > > BEFORE: SERVERS). >=20 > Have you ever met lame software trying to send mail about its > condition directly by SMTP to a pre-set local relay? So a database > engine can, in theory, requre "mail". Of course, I won't advise > using such a bogus DB engine, but my example isn't too poor either ;-) A valid point. Of course the code either works correctly when a dependency doen't work, or it's totally hopeless and you will have to ditch the database in question. :) -- 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 --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDlSWGXY6L6fI4GtQRAt9fAJ9FQgCOonzDhoKsdX9Jk8wA+iXLOACgg6o9 zMUP0SGZ99o0UTS6DbHUGhg= =IOli -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--