Re: getty's on runlevels 4 & 5
On Tue, Jul 13, 2004 at 01:34:40PM +0100, Thomas Adam wrote:
> --- Floris Bruynooghe <fb102@soton.ac.uk> wrote:
> > I was changing my default runlevels the other day as I wanted runlevel 2
> > to be console only. But that's next to the point really.
>
> Then you don't understand how the runlevels are organised in Debian. I
> have explained this in previous posts. X is started in all run-levels 2-5.
> You can stop this by reading 'man update-rc.d' for all or any run-levels.
Hum, I kind of disagree. I did what is perfectly acceptable in Debian.
Debian leaves runlevels 2-5 to be customised by the sysadmin, if I don't
want X somwhere I modify the symlinks in /etc/rc?.d (when using
sysvinit). If I want anything else, I can do so.
As already said, this is next to the point anyway and just gave some
background why I looked into /etc/inittab. I only asked why runlevel 4
and 5 had only 1 getty on the VC's by default in Debian. Just out of
curiosity, I'm not bothered with it.
Maybe I should have cross-posted to -devel, but I didn't want to flood
them there with such a useless question. It seems a bit off-topic
there as I'm not questioning anything.
> > What I was wondering about is that in /etc/inittab there are only
> > getty's started (per system default) on all 6 VC's for runlevel 2 & 3,
> > not for runlevel 4 & 5. Runlevel 4 & 5 only get a getty on one VC. But
> > ?dm still gets started on all runlevels (appart from 1 & 6 that is of
> > course).
>
> Runlevel 4 is reserved (thank you, Sun!) so that you can do what you like
> with it. It's there for you to define your own runlevel sequence.
I'm afraid you're wrong again. Sun has a complete different philosofie
about runlevels then Debian. By default on Solaris runlevel 2 is not
networked and runlevel 3 is networked iirc. Runlevel 3 is obviously the
default runlevel in Solaris. Debian does not do this and leaves all 4
runlevels to the sysadmin to play with. IIRC there are many threads on
-devel about that issue.
I'm not sure if Sun does anything with runlevel 5 or leaves that to the
sysadmin. But that's again besides the point, this is Debian.
> > Not that I'm bothered or want to question it or so. I was only
> > wondering if anyone happened to know the reasoning behind this. Just
> > out of curiosity. The (apparenly wrong) knowledge sat somewhere in my
> > poor brain cells that Debian treated runlevels 2, 3, 4 and 5 exactely
> > the same and left it to the sysadmin to modify them.
>
> (see previous comment).
same here ;-)
floris
--
Debian GNU/Linux -- The power of freedom
www.debian.org | www.gnu.org | www.kernel.org
Reply to: