Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2005 08:13:30 +0300
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>, ports@freebsd.org, freebsd-rc@freebsd.org
Subject:   Re: RC keywords question
Message-ID:  <20051206051329.GA30433@comp.chem.msu.su>
In-Reply-To: <20051205220053.GB24743@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> > 
> > 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).

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

-- 
Yar



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