delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/03/09:51:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <BAY19-F9259BCE8C7D9772EB64C6B55B0@phx.gbl>
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" <karlm30 AT hotmail DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019