Bryan J. Smith <b.j.smith@ieee.org>
2005-Jun-02 18:36 UTC
[CentOS] Re: Reboots -- run-levels 2-5 vary wildly ...
From: Rodrigo Barbosa <rodrigob at suespammers.org>> rcS.d is not a runlevel. It is the equivalent of rc.sysinit on other > distributions/flavors or, should I say, and expansion of that idea.Correct, that's why I said "before" the run-levels at boot. But you still need to know about it.> 0 - Halt > 1 - Single User > 2 - Multi User (No NFS) > 3 - Multi User > 4 - Reserved > 5 - Multi User (Graphical, originaly XDM) > 6 - Reboot > The processes started at each runlevel will differ, of course. > Not all machines will run httpd on run levels 2, 3 and 5. But > none should run it at run levels 0, 1 or 6.This are the Fedora-based distro run-levels. Level 2-5 actually _differ_ on many UNIX/Linux platforms. E.g., _many_ use 3 _not_ 5 for X11. The only consistency seems to be 0, 1 and 6 -- although many distros differ on a "maintanence" run-level between 0 and 1. -- Bryan J. Smith mailto:b.j.smith at ieee.org
Rodrigo Barbosa
2005-Jun-02 19:10 UTC
[CentOS] Re: Reboots -- run-levels 2-5 vary wildly ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jun 02, 2005 at 01:36:18PM -0500, Bryan J. Smith <b.j.smith at ieee.org> wrote:> > 0 - Halt > > 1 - Single User > > 2 - Multi User (No NFS) > > 3 - Multi User > > 4 - Reserved > > 5 - Multi User (Graphical, originaly XDM) > > 6 - Reboot > > The processes started at each runlevel will differ, of course. > > Not all machines will run httpd on run levels 2, 3 and 5. But > > none should run it at run levels 0, 1 or 6. > > This are the Fedora-based distro run-levels. > Level 2-5 actually _differ_ on many UNIX/Linux platforms. > E.g., _many_ use 3 _not_ 5 for X11.There is nothing wrong with using X11 at runlevel 3. The only thing that can't be present is a display manager (KDM, XDM, GDM etc). If it is, it is wrong, and doesn't comply with the unix standard (don't remember exactly which, but I studied it when working for Conectiva).> The only consistency seems to be 0, 1 and 6 -- although many > distros differ on a "maintanence" run-level between 0 and 1.The standard is there. If a distro chooses not to follow it, you can be very sure it will have acceptance problems. When I have time later today (or tomorrow), I'll give out the standard I'm mentoning and will give you a proper reference. Sorry I can't provide it from the top of my head. - -- Rodrigo Barbosa <rodrigob at suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCn1m6pdyWzQ5b5ckRAi3aAKC2nNnZv9ccL6UElGV59gWoiL67MwCgr/bu vwXU6qBIP2iFmhnCT578KtM=/wCY -----END PGP SIGNATURE-----