Description of problem: When pam_ssh is used to authenticate for kdm login into KDE session and start ssh-agent, ssh-agent keeps running after the session is finished and cannot be killed by TERM signal. This is because kdm blocks TERM signal when calling pam_ssh_code and this signal mask is inherited by ssh-agent. As ssh-agent blocks SIGTERM, it is not finished upon logout from KDE session. Version-Release number of selected component (if applicable): pam_ssh-1.97-11 How reproducible: Steps to Reproduce: 1. graphicl login with kdm authenticating with passphrase 2. logout Actual results: the ssh_agent process is not killed Expected results: all user processes should be killed Additional info: see https://bugzilla.novell.com/show_bug.cgi?id=727246 for a similar report where patches are proposed
It seems there is no such an issue with gdm (Gnome display manager). IOW, it looks like something KDM-specific. Does Kdm have any solution for such issues? Besides pam_ssh, some other pam modules might invoke programs at startup (keyrings, mounts, etc?), hence it is more a common problem rather than an pam_ssh only.
*** This bug has been marked as a duplicate of bug 913820 ***