On Sat, 15 Jun 2002 15:18:43 -0700
Terry Lambert <[EMAIL PROTECTED]> wrote:

> > > Otherwise circular dependencies.
> > 
> > That's what rcorder(8) is there for.
> It's not that simple.
> The most obvious example is the need to use DNS in order to look
> up syslog hosts, and whether you start syslogd before you start
> DNS, if DNS needs to syslog errors.
> Since the DNS information is only used by syslogd when actual
> logging to a remote host takes place, it should be possible to
> say that syslog has a soft dependency on DNS, and DNS has a hard
> dependency on syslog.

So, what you're describing is a chicken and egg problem. The solution
is simple, the sysadmin decides which one he wants to start first by 
fiddling with the REQUIRE and BEFORE lines, or the script can make 
use of the force_depend() subroutine to start required services
that aren't already started.

Mike Makonnen

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to