Subject: Re: bin/9757: shutdown(8) from remote machine hangs the client side.
To: John Darrow <John.P.Darrow@wheaton.edu>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 04/09/2000 10:02:28
> o Any other better solution?
I always hated this behaviour (linux does it the same way). If you have
multiple xterm sessions and use one to shutdown the machine, you'll have to
use xkill to get rid of the windows!
The proper solution is easy: signal all processes with open network
connections before shutting down the networking subsystem. Give them some
time to gracefully close, then proceed with network shutdown.
Clients not catching this signal will be lost as they are now, but fixed
clients will do the right thing.
Martin