[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: networking in rcS



On Sun, Jun 10, 2001 at 02:06:01PM +1000, Anthony Towns wrote:
> That's nice. It'll just get closed, unless you present a *very* compelling
> argument as to why the current way is the wrong way.
> 
> "Red Hat does it differently" is not a remotely compelling argument,
> for reference.

Ok, no problem.  I guess it might be my misconception, but it had always
been my impression that single user mode meant that only one user could
access the machine, and that was from the console.  I guess I am confused
why it looks like booting to runlevel 1 starts networking, mounts nfs
partitions, then does a killall5.

The manpage for init on this box (which is progeny 1.0 upgraded to debian
testing) says:

       Runlevel  S  or s bring the system to single user mode and
       do not require an  /etc/initttab  file.   In  single  user
       mode, /sbin/sulogin is invoked on /dev/console.

This makes me think that networking should not be enabled in rcS.  I floated
my first email as a question, as I really was more curious then anything
else.  I have no love of RedHat and the way they do things, haven't
installed it on my own machines in years.  Single user mode was just
something I assumed was universal accross linuxes, and you know what happens
to people who make assumptions. ;)

	-Sean

-- 
Sean Dague
sean@dague.net

There is no silver bullet.  Plus, werewolves make better neighbors than
zombies, and they tend to keep the vampire population down.

Attachment: pgpc0dbMsU6QN.pgp
Description: PGP signature


Reply to: