Carlos E. R. wrote: > The original poster did not say that the shutdown command is issued from > the ssh session. That's an assumption made later by Harris.
That's right, ssh session is not terminated in any case - I can submit reboot from other session or locally, nothing matters. > Look: open a terminal in you computer, and do "ssh localhost". Then, shut > down the sshd daemon. I just did, and the client ssh is still running and > working! In fact, doing a "ps afx" shows that the sshd daemon did not die: > > 16412 ? Ss 0:00 sshd: cer [priv] > 16414 ? S 0:00 \_ sshd: [EMAIL PROTECTED]/31 > > 16415 pts/31 Ss+ 0:00 \_ -bash > > And the log shows: > > Apr 19 23:18:07 nimrodel sshd[16409]: Server listening on :: port 22. > Apr 19 23:18:19 nimrodel sshd[16412]: Accepted publickey for cer from > 127.0.0.1 port 23422 ssh2 > Apr 19 23:18:29 nimrodel sshd[16409]: Received signal 15; terminating. > > but it hasn't terminated. During halt it will be forcibly killed later on > the sequence. I killed it via "killall sshd" and then the client died. I'm > not going to shutdown my computer to check, but as I recollect, I have > seen client sessions not dying. Well, my experience is when you work on remote machine using ssh and restart sshd daemon (sshd gets killed for sure), no ssh session is terminated and you can work almost without interruption. Obviously, Suse behaves exactly the same way when rebooting. BUT every other distro I ever used extensively (Debian, RH, Fedora) terminated ssh sessions correctly upon reboot. Oh and I see that I forgot my second question before. It's related to shutdown rather that to startup though. I use OpenSuse 10.X with /home on NFS (not sure if it's significant...). The problem is that sometimes reboot or shutdown doesn't proceed and halts. Last message written on the console is "Sending processes the KILL signal". System is not dead (NumLock responding), but doesn't proceed with shutdown/reboot further. This happens everytime (or almost everytime) I try to shutdown/reboot from KDE or GDM or using "reboot" command. On the contrary, shutdown/reboot succeeds everytime when a) pressing Power button and letting ACPI do the trick or b) going to the console (real text console - Ctrl+Alt+F1...) and hitting Ctrl+Alt+Delete... I experienced such behaviour with all OpenSuse 10.x versions, on different machines, both i386 and x86_64 platforms. Thanks for suggestions. Petr -- Petr "Tosuja" Klíma Mail: [EMAIL PROTECTED] Web: www.tosuja.info ICQ: 52057532 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
