Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 1998 03:04:18 +0000
From:      Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
To:        Greg Lehey <grog@lemis.com>
Cc:        rssh@grad.kiev.ua, Adrian Filipi-Martin <adrian@ubergeeks.com>, dyson@iquest.net, wes@softweyr.com, tlambert@primenet.com, hackers@FreeBSD.ORG
Subject:   Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?)
Message-ID:  <36620B32.74F76F43@Shevchenko.Kiev.UA>
References:  <Pine.BSF.3.96.981129164342.867C-100000@lorax.ubergeeks.com> <3661E443.5E392E32@Shevchenko.Kiev.UA> <19981130111623.E831@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:

> OK, but you can do this in System V as well.  I still haven't seen
> anything that explains what System V init will do (and BSD init won't)
> that we need to implement automatic startup and stopping of
> subsystems.
>

on SYSV I can say
init "run-level-less-than-database"
init "normal-run-level"

and sybsystems whill be closed and started up in stack order.

And SNMP service from pevious example will work.

I. e. in SYSV  dependences between subsystem are implicity stored in
/etc/rc  dierectory tree.
 X depend from Y --> X must start after Y ->
/etc/rc/X.rank > /etc/rc/Y.rank
   or if X.rank = Y.rank then  S<X-NUMBER>-X bigger than S<Y-NUMBER>-Y

for FreeBSD, I think, ideally is to have explicit graph of dependences,
in some form, where init-states is marks of nodes on it, and during
init close all nodes which have rank biggest then argument.

may be in each rc.X implement command 'depend_from' which show
all programs, after restarting of ones is nessesory to restart X.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36620B32.74F76F43>