X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Bret Weinraub <bretweinraub@yahoo.com>
Subject:  Re: [ANNOUNCEMENT] Updated: bash-3.2.3-5
Date: Fri, 10 Nov 2006 19:32:55 +0000 (UTC)
Lines: 53
Message-ID:  <loom.20061110T201550-961@post.gmane.org>
References:  <announce.45548308.9040507@byu.net> <loom.20061110T184304-348@post.gmane.org> <loom.20061110T193922-553@post.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

Eric Blake <ebb9 <at> byu.net> writes:

> 
> Bret Weinraub <bretweinraub <at> yahoo.com> writes:
> 
> > 
> > Details:
> > 
> > bash --version
> > 
> > 3.2.3(5)-release
> > 
> > sh --version
> > 
> > 3.1.17(9)-release
> 
> Evil.  /bin/sh is supposed to be at the same version of bash, if you installed 
> things correctly.  It sounds like your postinstall scripts did not run 
> correctly (perhaps you had bash or sh open when you ran setup.exe?).  What are 
> the timestamps on those files ('ls -l /bin/{ba,}sh')?
> 
> At any rate, the fix is to rerun the postinstall scripts, or more 
> quickly, 'cp /bin/bash /bin/sh'.
> 


$ ls -l /bin/{ba,}sh
-rwxr-x---+ 1 NotTheRealUser Users 467968 Nov  2 19:22 /bin/bash
-rwxr-x---+ 1 NotTheRealUser Users 461824 Nov  7 16:20 /bin/sh

Next step - found bash/sh processes running under other sessions (logged in via
RDP) - terminated with extreme prejudice.

Re-installed via the CYGWIN installer (selected keep - told bash 3.2.3-5 to
reinstall) .... everything looked to be ok.

$ bash --version
GNU bash, version 3.2.3(5)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

$ sh --version
GNU bash, version 3.1.17(9)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

So maybe the post-install script has an issue ....

Took your recommended approach (with the copy).

igncr complaint went away ... but something else seems amiss from 3.1.17(6) -
will investigate when I can steal more time away from my real job.





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

