Date: Sun, 16 Jun 2002 05:40:30 -0700 From: Mike Makonnen <makonnen@pacbell.net> To: Terry Lambert <tlambert2@mindspring.com> Cc: current@FreeBSD.ORG, danny@cs.huji.ac.il, gordont@gnf.org Subject: Re: HEADS UP: rc.d is in the tree Message-ID: <20020616054030.29e6ed35.makonnen@pacbell.net> In-Reply-To: <3D0BBD43.6623BCBD@mindspring.com> References: <E17IrYC-000NFi-00@cse.cs.huji.ac.il> <20020614142308.7ddeaed0.makonnen@pacbell.net> <3D0A6E7B.F243329A@mindspring.com> <20020615121247.A6971@dragon.nuxi.com> <3D0B9A60.A4A816A4@mindspring.com> <20020615144656.06f8404d.makonnen@pacbell.net> <3D0BBD43.6623BCBD@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Jun 2002 15:18:43 -0700 Terry Lambert <tlambert2@mindspring.com> 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. Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020616054030.29e6ed35.makonnen>