delorie.com/archives/browse.cgi | search |
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 |
From: | "John Morrison" <john DOT r DOT morrison AT ntlworld DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Setup hangs in postinstall |
Date: | Sun, 7 Dec 2003 10:30:39 -0000 |
Message-ID: | <NCEBJJFMCAOKNNABBFIMKELBEOAA.john.r.morrison@ntlworld.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
In-Reply-To: | <3FD0F192.9010100@m4x.org> |
Importance: | Normal |
X-MIMEOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
(Sorry I've not quoted people, I've lost track of who wrote what... also, I re-arranged the email slightly.) >>>> process hangs on two postinstall scripts; >>>> base-files-mketc.sh base-files-mketc does use uname, >>>> base-files-profile.sh base-files-profile does not... >>>> 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 I'm sorry, I don't have a copy of XP to try this with, but it would appear to be a bug in uname (since it gives no output from the commandline) Does it uname hang or just return empty? Is there any error codes? Try: /bin/uname -a ; echo $? Also, could you *attach* (uncompressed) the output of: /bin/cygcheck -svr > cygcheck.out Thanks, J. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |