delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/21/19:49:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4E012E08.6010504@acm.org>
Date: Tue, 21 Jun 2011 16:49:28 -0700
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Problem with 20110616 snapshot, ssh-agent, and mintty
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I'm having a problem with recent snapshots, including the 20110616
snapshot. I normally start ssh-agent using keychain as part of my
bash startup. The problem I have is that once the bash process that
starts the ssh-agent process exits, subsequent starts of mintty
fail.

Here's an example:

----------------------------------------------------------------------
C:\Users\drothe>uname -a
CYGWIN_NT-6.1-WOW64 tela64 1.7.10s(0.248/5/3) 20110616 23:01:21 i686 Cygwin

C:\Users\drothe>bash --norc
bash-4.1$ mintty bash --norc -c 'ssh-agent'
bash-4.1$ mintty bash --norc
----------------------------------------------------------------------

That last start of mintty fails with the message "Failed to fork
child process: No such file or directory."

This is happening on my Win7 64-bit installation and my WinXP Pro
32-bit installation.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

The Second Law of Thermodynamics:
        If you think things are in a mess now, just wait!
                -- Jim Warner

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

- Raw text -


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