lkml.org 
[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Miquel van Smoorenburg)
SubjectRe: halted system still working as router.
Date29 Oct 1998 10:38:25 +0100
In article <cistron.36379467.46C4D9E5@sheridanc.on.ca>,
Paul  <paul.hessels@sheridanc.on.ca> wrote:
>The power in my apartment went out and my ups was about to fail.  I
>typed "shutdown -h now" <enter>.  The machine shutdown and halted.  It
>said, The system is halted, and System Halted.  My ups never did die. 
>The curious thing was that when the power came back on I found that my
>computer was still routing traffic to the internet.  Is this normal
>behaviors for a computer that has been halted?  Is this a kernel
>problem, or specific to my machine(or my kernel)?

Newer versions of sysvinit solved this. halt(1) has a flag that tells
it to shutdown all network interfaces before halting [-i]. Make
sure your shutdown script calls "halt -i" (or even "halt -i -p").
This is the default in Debian 2.0, I don't know about RedHat.

Mike.
-- 
  "Did I ever tell you about the illusion of free will?"
    -- Sheriff Lucas Buck, ultimate BOFH.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2008