This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: keychain service--hanging in ssh-add




From: Chuck
Subject: Re: keychain service--hanging in ssh-add
Date: Fri, 04 Mar 2005 08:29:09 -0500

Karl M wrote:
> Hi All...
>
> I tracked it down. It is not a problem with keychain, openssh or cygwin.
>
> Occasionally, on this particular laptop (XP SP2), the user can reboot,
> log in and start a bash shell before all of the services are running or
> while they are still starting. Gotta love Microsoft. So that was causing
> the problem.
>
> I have a little more handshaking to prevent the problem now.
>
> I think the keychain service stuff just is about ready for a wider
> audience.
>
> Corinna...I have not heard back from Hack after I sent him an e-mail a
> week ago. I am happy to support an updated keychain package, or just
> place my files in the archives. We can wait a while longer to see if we
> hear from Hack. Just let me know how you would like to proceed.
>
> Thanks,
>
> ...Karl
>
>
>

Don't know if this is related but a few days ago after installing
cygwin-1.5.13-1, and cygrunsrv-1.0.1-1, ssh-add started hanging on me
the first time I try to use it. If I simply CTRL+C it, and try again it
works. This happens consistently. I've tried with pdksh (my default
shell) and bash. Only seems to happen the first time I launch ssh-add
after rebooting, but I don't think it's related to MS services not
running. My PC can be up and running for hours first, and it'll still
happen. Any ideas?

I think it may be related to your update to cygwin-1.5.13-1. This is a symptom that I was seeing also, but only on one machine (XP SP2 laptop) and only on some reboots. Please try a snapshot and report the results.

Another experiment is to reboot, and wait for the disk activity to stop. That is, to wait until the reboot is really finished. Then try ssh-add. That would be worth trying with both 1.5.13-1 and with a snapshot.

Please tell me about your system configuration. Are you running ssh-agent and or keychain as a service?

What may be going on is that after boot-up, the machine is busy and the new pipe code slows down (see postings from cgf). For me, this was causing a race at startup. When I prevented the race, it prevented the problem...but I don't think I found the problem, just sent it back into hiding.

Thanks,

...Karl



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]