X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 6 Jul 2009 14:10:22 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Bash initialization w/cygwin-1.7 on NT4
Message-ID: <20090706181022.GA20867@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A517753.6000800@verizon.net>  <4A517B99.9090303@gmail.com>  <20090706043216.GA7958@ednor.casa.cgf.cx>  <20090706152114.GA14932@ednor.casa.cgf.cx>  <4A522DA6.2090200@verizon.net>  <20090706171515.GC20446@ednor.casa.cgf.cx>  <4A523A9C.1040308@verizon.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A523A9C.1040308@verizon.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

