Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: X-Originating-Email: [karlm30 AT hotmail DOT com] X-Sender: karlm30 AT hotmail DOT com In-Reply-To: <42270017.7C75FD99@dessent.net> From: "Karl M" To: cygwin AT cygwin DOT com Subject: Re: keychain service--hanging in ssh-add Date: Thu, 03 Mar 2005 06:49:15 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Mar 2005 14:50:00.0879 (UTC) FILETIME=[46BCBBF0:01C52000] X-IsSubscribed: yes >From: Brian Dessent >Subject: Re: keychain service--hanging in ssh-add >Date: Thu, 03 Mar 2005 04:16:23 -0800 > >Karl M wrote: > > > 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. > >You can solve this by using the --dep option of cygrunsrv when you >install the service. For example I use "--dep Tcpip" or "--dep >dnscache" for Cygwin services that depend on TCP/IP networking and/or >name resolution. > I do use --dep as needed. The problem here is the other way around. The user is logging in and starting before the service finished starting. XP in its desire to look like it starts up quickly is letting the user in very early. So I guard against this by creating a file after the keychain service finishes launching ssh-agent...then my .profile leaves keychain alone if the service has not finished starting. 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/