delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/16/22:48:55

X-Spam-Check-By: sourceware.org
Message-ID: <4584BE0F.4050706@byu.net>
Date: Sat, 16 Dec 2006 20:48:31 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, ctate AT acm DOT org
Subject: Re: Postinstall Problem with 01bash.bat
References: <918c01e60612161607m2809a84dua3929813c74ee18c AT mail DOT gmail DOT com> <4584AA15 DOT 6060206 AT byu DOT net> <918c01e60612161851x59f61d1cvb87e00e50826748e AT mail DOT gmail DOT com>
In-Reply-To: <918c01e60612161851x59f61d1cvb87e00e50826748e@mail.gmail.com>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Christopher Tate on 12/16/2006 7:51 PM:
> 
> First, I should point out that having run setup.exe has now left
> cygwin in an unusable state; i can't launch a bash shell in order to
> run the commands specified.

Why not?  Your ls results show bash exists, so what are the symptoms that
prove it won't run?

> grep -C5 00bash /var/log/setup.log.full says it's uninstalling 3.2.9,
> then installing from bash-3.2.9-9.tar.bz2, then abnormal exit (exit
> code = 0) from postinstall\00bash.sh, *then* running 01bash.bat. (full
> output attached rather than quoted here).

Everything sounds correct so far.  What does 'cat
/etc/postinstall/01bash.bat*' show?

> 
> ls -l /bin/{ba,}sh.exe:
> -rwxr-x---+ 1 ctate mkgroup-l-d 484864 Dec 15 13:44 /bin/bash.exe
> -rwxr-x---+ 1 ctate mkgroup-l-d 451072 Dec 26  2005 /bin/sh.exe

Hmm, you really need to run mkpasswd/mkgroup to populate /etc/passwd and
/etc/groups properly.  Maybe that is part of your problem.

> cygcheck /bin/sh.exe:

Looks similar to what I saw.  But since it didn't hang when done manually,
I'm not sure it is the culprit.

> 
>> > Here's one scrap of additional information:  before running the cygwin
>> > setup.exe program, I checked the Task Manager and verified that no
>> > bash or sh processes were running.  Now, with the installer hung
>> > during 01bash.bat's execution, there are three running bash.exe
>> > processes, and one running sh.exe.

Hmm, I still need to figure out why sh.exe is running - it cannot be
upgraded while it is running.

> 2006/12/16 15:58:13 running: cmd.exe /c C:\cygwin\etc\postinstall\01bash.bat
> 2006/12/16 16:07:11 mbox note: Installation Complete

Hmm, no 01bash.bat output.  What does 'grep -C 5 00bash
/var/log/setup.log' state?

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhL4P84KuGfSFAYARAlPvAKDEMZLI/aHpvk5jDK2+FO1Ld+rncgCfZNrn
ZUE/nbMEFnlW3EeWsNr5FfE=
=/HQI
-----END PGP SIGNATURE-----

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