[Bug 2598] ssh-agent very occasionally won't remove keys or certs despite now() >= lifetime

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jul 16 16:15:36 AEST 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2598

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
WRT suspends: we changed the timer to CLOCK_MONOTIME in this commit:

https://anongit.mindrot.org/openssh.git/patch/?id=b759c9c2

so it'll do the right thing over clock steps.  We added CLOCK_BOOTTIME
in

https://anongit.mindrot.org/openssh.git/patch/?id=795b8631

but that was added in 6.7, so it shouldn't be a problem with the 6.9
version you're using.

reaper is being called when you run ssh-add -l, but after the request
is process and before it runs select() again.  I could imagine a timer
expiring while the system is asleep and the key not being removed until
after the next time it processes a request.  If that's the case, the
key would only show up the first time you ran ssh-add -l.

Failing that, if we add some debugging could you capture the logs for
one of the problem cases?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list