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

RE: taking down adsl connection



On Sat, 2 Jun 2001 benado@actcom.co.il wrote:

> Never Reboot? I agree that reboot is NEVER the first solution but there are
> cases that you have to reboot even when you have no hardware problems. (I do
> not want to start a flame war here..)

no flame war is intended. rebooting in order to solve a problem, instead
of properly tracking it down and fixing it, is a pet peeve of mine. even
more important, in the case of some problems, rebooting can actually
make things worse!

> What can you do when you run a login script that depends on utmpx and
> someone deletes utmpx?
> taking down the system to single-user and back to runlevel 2 as far as i can
> see it, it's just like reboot. Users have to get of, runlevel script run
> again and all the things around.

consider such a case, that somehing in the login process is fscd. before
rebooting, the system is still working but no one can get in. still, those
that are already logged in can continue working and hopefully _fix the
problem_. what happens if you naively reboot? no one can login! during
the boot sequence, certain actions are done. granted, those actions can
sometime solve problems. however, there is no need to reboot in order to
carry those actions out! do we not have the root passwd? are we not the
gods of the machine? just do whatever it is that the boot sequence does
that fixes your particular problem, on the console, without rebooting.
only if there's no other choice should one reboot.
-- 
mulix
http://www.advogato.com/person/mulix

linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il