delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/11/01:38:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: ljGqCTiswBDbNeF_1cTo121dV0O.G9YAdw--
Message-ID: <4B21E8D2.1010402@kringlecottage.com>
Date: Fri, 11 Dec 2009 00:38:10 -0600
From: Dave & Diane <daveanddiane AT kringlecottage DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
MIME-Version: 1.0
To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
CC: cygwin AT cygwin DOT com
Subject: Re: Is 1.7 ready?/Installation Issues
References: <873a3i5phc DOT fsf AT jondo DOT cante DOT net> <4B21DA6F DOT 7020706 AT kringlecottage DOT com> <4B21E157 DOT 20701 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4B21E157.20701@cwilson.fastmail.fm>
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

Thanks for the speedy reply Chuck - I'm game!

I did as you suggest and it sped along to some degree but of course a 
lot of tools weren't in the path, so I had to add /usr/bin in to the 
path before running the for loop....

Interestingly when I did, I got:

/bin/bash: /etc/postinstall/base-files-mketc.sh: Permission denied
/bin/bash: /etc/postinstall/base-files-profile.sh: Permission denied

Looking at these I see the exe bit isn't set:

$ ls -l base-files-mketc.sh
-rw-r--r-- 1 Dave Trollope 4294967295 665 2009-12-06 04:33 
base-files-mketc.sh
$ ls -l base-files-profile.sh
-rw-r--r-- 1 Dave Trollope 4294967295 530 2009-12-06 04:33 
base-files-profile.sh

Other .sh files have the exe bit set... Is there a problem with the 
permissions on the packages being downloaded?

$ ls -l
total 33
-rwxr-xr-x 1 Dave Trollope 4294967295 6154 2009-05-14 05:28 
000-cygwin-post-inst
all.sh.done
-rw-r--r-- 1 Dave Trollope 4294967295  665 2009-12-06 04:33 
base-files-mketc.sh
-rw-r--r-- 1 Dave Trollope 4294967295  530 2009-12-06 04:33 
base-files-profile.sh
-rwxr-xr-x 1 Dave Trollope 4294967295 1063 2009-07-01 20:20 bash.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  518 2008-12-17 16:16 
coreutils.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  406 2009-10-14 18:19 
font-adobe-dpi75.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295 1645 2009-10-14 18:22 
font-alias.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  399 2009-10-14 19:06 
font-misc-misc.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295   52 2009-09-24 21:30 
fontconfig.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  461 2007-04-06 07:13 man.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  805 2009-05-11 06:24 
passwd-grp.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  527 2009-11-30 21:48 terminfo.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  236 2009-11-26 10:04 
terminfo0.sh.done
-rwxr-xr-x 1 Dave Trollope 4294967295  415 2008-08-10 10:34 
update-info-dir.sh.done

After fixing those permissions and rerunning them things look good. I 
started a cygwin command shell with bash and it detected it was the 
first install and copied the users default settings/profile etc as I 
would expect. I'm still suspicous that packages already marked "done" 
didn't really complete cleanly so I'll check that out tomorrow but I 
suspect there is something in the bash package with the wrong 
permissions or the mketc/profile.sh post install scripts don't for some 
reason get their permissions changed.

Thanks for the help - and I hope this helps you ( or Corinna ;-) ) find 
something that needs before going live with 1.7. I'll let you know if I 
find anything else odd tomorrow as I proceed further with getting it set 
up to take over from 1.5

Cheers
Dave


Charles Wilson wrote:

>Dave & Diane wrote:
>
>  
>
>>I appreciate that I'm not giving you a lot to go on here, but my gut
>>tells me there are some serious gremlins in the guts and in the
>>installation still, it certainly prevents me from moving my 1.5 system
>>to 1.7 at work and I'm worried that if 1.7 is released you'll be
>>overwhelmed with support requests that are eerily similar. This is why I
>>ask if 1.7 is ready for prime time. Perhaps I'm just being unlucky, and
>>thats ok.
>>    
>>
>
>I'm assuming you've checked for BLODAs, and that you have no known or
>suspected BLODAs running.  In that case...
>
>My gut says that the postinstall scripts are encountering the dreaded
>"*** unable to remap" error, which (a) takes a few seconds before cygwin
>gives up and reports it (to setup; you won't see the error message), and
>(b) leaves a zombie process running around. If this occurs every time
>setup tries to run a postinstall script, and there are 40-50 such
>scripts in a typical 'virgin' installation, then...pain.
>
>My suggestion is: if everything has actually been downloaded and
>installed, and only the postinstall scripts are causing problems, then
>kill setup, and manually:
>
>launch cmd
>cd C:\cygwin-1.7\bin
>ash
>rebaseall -v
>for f in /etc/postinstall/*.sh ; do
>  /bin/bash -c $f && mv $f $f.done
>done
>
>But...take all that with a grain of salt.  It's just my gut feeling with
>very little evidence to back it up.
>
>--
>Chuck
>
>--
>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
>
>
>  
>


-- 

Diane & Dave
http://www.velvetstarbears.com/  http://www.kringlecottage.com/
Fortune: The difference between America and England is that the
English think 100 miles is a long distance and the Americans
think 100 years is a long time.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019