-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marius Andreiana wrote: | On Wed, 2005-02-02 at 20:17 -0600, Eric Vought, Technical Director | |>OK, the problem is that service sshd reload and service sshd restart are |>not working. They are SIGHUPping the wrong process IDs. I figured this |>out when I realized that not all of my ssh sessions were closing when I |>reloaded the configuration. The session which was closing was the one |>which was mistakenly shut down by service sshd reload/restart. |> |>When I HUP the process myself, everything suddenly works. | | If true, this would be a bug. Stop has | stop() | { | echo -n $"Stopping $prog:" | killproc $SSHD -TERM | ... | | and restart has stop() start(). | Could you please test more? init.d script looks ok to me. | | It is true. It is signaling *an* sshd instance, but not the primary. That is why my connection gets killed and the config file is not read. I have not had a chance to track down 'killproc' yet, but it is on my list. If it essentially goes through a psgrep to find the process, that could underlie the problem. I have to be somewhat cautious in playing here since it is a remote machine and I do not have physical access if I end up shutting down ssh.
- -- - -------------- Eric Vought
Technical Director, Diversity Ink Morgan Family Enterprises