Re: Anyone working on the rc.d installer problem?
> > > Here's the runlevels which RedHat uses; can someone tell me what the
> > > runlevels defined by Debian?
> > >
> > > # Default runlevel. The runlevels used by RHS are:
> > > # 0 - halt (Do NOT set initdefault to this)
> > > # 1 - Single user mode
> > > # 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
> > > # 3 - Full multiuser mode
> > > # 4 - unused
> > > # 5 - X11
> > > # 6 - reboot (Do NOT set initdefault to this)
> >
> > We have
> >
> > 0 halt
> > S single user mode
> > 1 Multiuser, without network
>
> This is very weird... I've never seen a Unix for which single-user
> wasn't runlevel 1; I think RedHat is quite similar to Solaris or IRIX,
> except that for those runlevel 5 is poweroff; I think xdm yes/no is
> handled outside the runlevel mechanism.
[Sorry for not posting from my real account.]
On some systems you have to say "telinit 1" to go into single-user mode
as the real single-user mode just starts "sulogin" and does nothing else:
The startup-script for runlevel 1 kills all progs and does a "telinit s"
as last action. This is more weird and I don't see any reason for it...
As many Linux-Users do not feel comfortable with only "sulogin" on one
console, it is very convenient to have something similar to
single-user mode, but 4 additional getty's running on VC1 to VC4.
(Some people also like to have only "/" mounted read-only in
single-user-mode. That is way too much for most people, if you tell
them that they should only update in single-user mode. :-) So having
two modes without network access seems the best for all users.
As sysvinit does distinguish between runlevel 1 and runlevel S, we could
just make runlevel "1" and runlevel "S" behave like mentioned above.
Changing the default normal runlevel to 3 and having such a convenient mode
as runlevel 2 is a good solution, if you don't have to think about upgrade
problems for your customers.
Florian La Roche
Reply to: