From: peter@nmti.com (Peter da Silva)
Subject: Re: SysV init [Was: Solaris 2.6]
Date: 1996/12/11 [thread overview]
Message-ID: <58mmlf$cqm@web.nmti.com> (raw)
In-Reply-To: 58m3bb$hju@innocence.interface-business.de
In article <58m3bb$hju@innocence.interface-business.de>,
J Wunsch <joerg_wunsch@interface-business.de> wrote:
> The SysV init has good and bad sides. While i think the idea is not
> too bad, i have yet to see a single SysV that does all state
> transitions right, e.g. where it doesn't tell you ``Starting foobar
> service...'' when you tell it to go down from run-level 3 to 2, or
> ``Stopping mumblefritz'' when you upgrade from S to 1.
The semantics of the scripts that are run from inittab need to be separated
from the System V init model itself. Init itself is a very simple program:
all it basically does is run programs on entering states. In a BSD world,
for example in Digital UNIX, it doesn't even complete the shutdown process
itself... rather the script that run on entering run level 0 finishes off
with a call to "halt" or "reboot".
4 states is plenty.
0 (halt), 1 (single user), 2 (multiuser), and 3 (online).
(call 0 0/6 if you want to use run levels to determine whether you call
halt or reboot)
I *do* think that sitinguishing between multiuser and online (multiuser
with networking services and modems online) is a valuable tool for a
system administrator. Networking *clients* should continue to run in
single-user mode (and that's something System V boxes don't tend to
get right, sigh).
This can all be done without a zillion /etc/rc.d/rc3.d/S00internet files
if you like. Just have /etc/rc.d/rc(0,1,2,3,6) run on entering that state.
--
</peter>
next prev parent reply other threads:[~1996-12-11 5:00 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <32986299.AC7@mail.esrin.esa.it>
[not found] ` <casper.329c06bc@mail.fwi.uva.nl>
[not found] ` <57ik5l$12i$1@shade.twinsun.com>
[not found] ` <x7917mx5gx.fsf@dumbcat.codewright.com>
1996-12-01 5:00 ` Solaris 2.6 Peter da Silva
1996-12-02 5:00 ` Casper H.S. Dik
1996-12-02 5:00 ` Andreas Borchert
1996-12-02 5:00 ` Casper H.S. Dik
1996-12-02 5:00 ` Andreas Borchert
1997-07-21 4:00 ` "Mark Jeffery"
1996-12-03 5:00 ` Burkhard Neidecker-Lutz
1996-12-03 5:00 ` Andreas Borchert
1996-12-06 5:00 ` Per Schr�der
1996-12-06 5:00 ` Andrew Roach
1996-12-08 5:00 ` Casper H.S. Dik
1996-12-08 5:00 ` Blair Phillips
1996-12-10 5:00 ` Andreas Borchert
1996-12-10 5:00 ` Charles Stephens
1996-12-07 5:00 ` Dan Cross
1996-12-07 5:00 ` Peter da Silva
1996-12-09 5:00 ` Bryan Althaus
1996-12-09 5:00 ` Peter da Silva
1996-12-10 5:00 ` Jim Deitch
1996-12-11 5:00 ` Paul David Fox
1996-12-12 5:00 ` Bryan Althaus
1996-12-12 5:00 ` Vic Abell
1996-12-13 5:00 ` Bryan Althaus
1996-12-15 5:00 ` Vic Abell
1996-12-14 5:00 ` Rick Jones
1996-12-10 5:00 ` Bruce Adler [Contractor]
1996-12-11 5:00 ` Paul David Fox
1996-12-12 5:00 ` Christian Worley
[not found] ` <58invm$s4b@abyss.west.sun.com>
1996-12-10 5:00 ` Peter da Silva
[not found] ` <58ma5l$kb2@abyss.west.sun.com>
1996-12-11 5:00 ` Peter da Silva
1996-12-11 5:00 ` Andreas Borchert
1996-12-12 5:00 ` Peter da Silva
1996-12-12 5:00 ` Birger Wathne
1996-12-12 5:00 ` Peter da Silva
1996-12-12 5:00 ` Birger Wathne
1996-12-12 5:00 ` Peter da Silva
1996-12-13 5:00 ` Andreas Borchert
1996-12-13 5:00 ` Bryan Althaus
1996-12-13 5:00 ` Thor Lancelot Simon
1996-12-13 5:00 ` Casper H.S. Dik
1996-12-13 5:00 ` Bryan Althaus
1996-12-13 5:00 ` Richard Deal
1996-12-13 5:00 ` Andreas Borchert
1996-12-16 5:00 ` Peter da Silva
1996-12-19 5:00 ` Andreas Borchert
1996-12-11 5:00 ` Bruce Adler [Contractor]
1996-12-12 5:00 ` Paul David Fox
1996-12-12 5:00 ` Peter da Silva
1996-12-12 5:00 ` Birger Wathne
1996-12-12 5:00 ` Peter da Silva
1996-12-13 5:00 ` Rob Kroeger
1996-12-11 5:00 ` SysV init [Was: Solaris 2.6] Stefan Monnier
1996-12-20 5:00 ` Solaris 2.6 J Wunsch
1996-12-10 5:00 ` Bill Deegan
1996-12-11 5:00 ` Peter da Silva
1996-12-12 5:00 ` mib
1996-12-12 5:00 ` mib
1996-12-18 5:00 ` Mario Klebsch
1996-12-19 5:00 ` mib
1996-12-08 5:00 ` Larry W. Virden
1996-12-09 5:00 ` Paul David Fox
1996-12-09 5:00 ` Rainer Landes
1996-12-10 5:00 ` Juergen Schroeder
1996-12-11 5:00 ` Paul David Fox
[not found] ` <32AC4A45.41C6@physik.uni-karlsruhe.de>
1996-12-10 5:00 ` Rich Kulawiec
1996-12-02 5:00 ` Marco S Hyman
[not found] ` <57djlg$bks@agate.berkeley.edu>
1996-12-10 5:00 ` Andrew Gabriel
1996-12-10 5:00 ` David Robinson
1996-12-11 5:00 ` Joerg Schilling
1996-12-10 5:00 ` wnl
1996-12-10 5:00 ` Casper H.S. Dik
1996-12-11 5:00 ` Joerg Schilling
1996-12-11 5:00 ` SysV init [Was: Solaris 2.6] Andrew Gabriel
[not found] ` <57dkbq$bsr@panix2.panix.com>
[not found] ` <casper.329abb76@mail.fwi.uva.nl>
1996-12-11 5:00 ` J Wunsch
1996-12-11 5:00 ` Peter da Silva [this message]
1996-12-12 5:00 ` Richard Deal
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox