delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/06/14:10:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 6 Jul 2009 14:10:22 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bash initialization w/cygwin-1.7 on NT4
Message-ID: <20090706181022.GA20867@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4A517753 DOT 6000800 AT verizon DOT net> <4A517B99 DOT 9090303 AT gmail DOT com> <20090706043216 DOT GA7958 AT ednor DOT casa DOT cgf DOT cx> <20090706152114 DOT GA14932 AT ednor DOT casa DOT cgf DOT cx> <4A522DA6 DOT 2090200 AT verizon DOT net> <20090706171515 DOT GC20446 AT ednor DOT casa DOT cgf DOT cx> <4A523A9C DOT 1040308 AT verizon DOT net>
MIME-Version: 1.0
In-Reply-To: <4A523A9C.1040308@verizon.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Jul 06, 2009 at 10:55:40AM -0700, Jerry DeLisle wrote:
>Christopher Faylor wrote:
>--- snip ---
>>> I will try the manual process you suggested after I figure out how to get the 
>>> snapshot and when it is available.
>> 
>
>Bare in mind that I am using the broken environment to do this.

The fact that I could duplicate the problem means that I'm in the same
state as you.

>I managed to extract the snapshot and replace the cygwin1.dll while not
>running any cygwin apps.  Restarting a shell seems to function as
>before, uninitialized.
>
>I then go to /etc/postinstall to find the scripts.  They are all
>suffixed with .done.  Are these the scripts I should attempt to run?

Yes.

You need to do something like:

c:
cd \cygwin\etc
for %f in (*.done) do sh ./%f

That's what I did (although I've turned off my system and don't have the
exact syntax so I might have gotten it wrong).  I did see an error about
midway through as sh was processing the files which I have to
investigate but it wasn't a STACK_OVERFLOW and it seemed to be coming
from bash itself.  When I was done, after clicking on the cygwin icon, I
had the expected bash prompt.

>I thought maybe I could just try to reinstall bash after replacing the 
>cygwin1.dll.  What do you think?

That won't cause all of the other postinstall scripts to run.

cgf

--
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