Bug 105546 - pam_ssh: add Debian patch for removing stale .ssh/agent-* files
Bug#: 105546 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: pam-bugs@gentoo.org Reported By: jkt@gentoo.org
Component: Core system
URL: 
Summary: pam_ssh: add Debian patch for removing stale .ssh/agent-* files
Keywords:  
Status Whiteboard: 
Opened: 2005-09-10 15:31 0000
Description:   Opened: 2005-09-10 15:31 0000
pam_ssh won't run ssh-agent if it would overwrite ~/.ssh/agent-* files. It has 
been reported upstream [1] but is still unfixed. Debian has a patch ("Add 
patch to cleanup old ~/.ssh/agent-[host]-[tty] files. (courtesy of Itay 
Ben-Yaacov <nib_maps@yahoo.com>) Closes: #294181) [2] [3]. I've added it to 
current pam_ssh-1.91-r1.ebuild and it works for me. I can submit patched 
ebuild but the change is trivial. 
 
[1] 
http://sourceforge.net/tracker/index.php?func=detail&aid=1118574&group_id=16000&atid=116000 
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294181 
[3] 
http://bugs.debian.org/cgi-bin/bugreport.cgi/NEWDIFF?bug=294181;msg=27;att=1

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-04-21 04:41:40 0000 -------
Thanks for the patch, added in -r2.

------- Comment #2 From Juergen Nagel 2006-04-22 09:11:58 0000 -------
I just had a kernel oops on my notebook and can also verify that the patch is
working.