delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/05/15:16:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3FD0E763.4060306@mines.edu>
Date: Fri, 05 Dec 2003 13:15:31 -0700
From: Michael Robbert <mrobbert AT Mines DOT EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Setup hangs in postinstall
X-MailScanner: Found to be clean

A co-worker and I are trying to debug a problem that we came across 
while trying to do a new install of Cygwin on a clients computer. We 
have the current version of Setup.exe(2.416) and we have tried to 
install from a couple of mirrors, but even when doing just a base 
install the process hangs on two postinstall scripts. 
base-files-mketc.sh and base-files-profile.sh
If you hit cancel in setup you end up with a partially working system. I 
have been able to open a bash shell and kill those processes and the 
rest of the scripts run fine. I then try to run the scripts manually and 
they still hang. I have run them with sh -x to see where they're getting 
stuck and I have found that it is any time they try to assign a variable 
to the output of a command i.e.: OSNAME="`/bin/uname -s`"
I can reproduce the problem with just that line on from a bash or sh 
shell prompt. I have also tried to strace this command, but I get no 
output at all. Setting variables to a simple string works fine.

What is interesting is that the problem happens on both my laptop and 
the clients workstation, but not my co-workers laptop. They are all 
running XP SP1. I also can not reproduce the problem on another laptop 
that is running Windows 2000 SP4. There are a few less minor patches on 
my co-workers laptop, but that is the only difference that we can think 
of. What else can we look at to find out why this problem is happening 
on two computers, but not others?

-- 
Michael "Murph" Robbert
System Administrator for Math/CS
Colorado School of Mines, Golden, CO  80401-1887
Office: GC249
Office phone: 303-273-3786
Pager: 303-461-6543
Email: mrobbert AT mines DOT edu


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