Strange problems with sshd under fc3 - Solved!

Eric Vought, Technical Director evought at diversityink.com
Thu Feb 3 17:20:44 UTC 2005


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAl1rGqlqMhx2Xb0RAkotAJ42m00BdR9jnZVhFbK+xhLlZfnqHQCfaE/O
nj2knBPfH/D7vj0+itvSx4o=
=fj1R
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: evought.vcf
Type: text/x-vcard
Size: 223 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050203/7a839f2b/attachment-0001.vcf>


More information about the fedora-list mailing list