Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 14:00:53 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>, Brooks Davis <brooks@one-eyed-alien.net>, ports@freebsd.org, freebsd-rc@freebsd.org
Subject:   Re: RC keywords question
Message-ID:  <20051205220053.GB24743@odin.ac.hmc.edu>
In-Reply-To: <20051205171416.GA88485@comp.chem.msu.su>
References:  <20051205145805.0db6cf26@it.buh.tecnik93.com> <20051205161656.GC7653@odin.ac.hmc.edu> <20051205171416.GA88485@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

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).

-- 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

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDlLiUXY6L6fI4GtQRAhLGAKDlyWriu6grXydx813jGj7XNAzYIwCgrUDK
o84f+5i6W9PLAmTLRQJ78I0=
=DCfl
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205220053.GB24743>