delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/02/13:08:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygcheck improvements
Date: Wed, 2 Nov 2005 18:08:28 -0000
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0511021257580.21380@slinky.cs.nyu.edu>
Message-ID: <SERRANOUSxvjPkQTGpa000000d1@SERRANO.CAM.ARTIMI.COM>

Igor Pechtchanski wrote:
> On Wed, 2 Nov 2005, Dave Korn wrote:
> 
>> Christopher Faylor wrote:
>>> On Wed, Nov 02, 2005 at 05:37:25PM -0000, Dave Korn wrote:
>>>> Christopher Faylor wrote:
>>>>> What other kind of common things could cygcheck be testing for?
>> 
>>   Hey, I had another idea.  It should definitely scan /etc/postinstall
>> and report any scripts that failed to complete (i.e. don't end with
>> '.done').
> 
> Sigh, this would imply that (a) postinstall scripts produce valuable exit
> codes (or are run with "set -e", so that they bail out at first sign of
> trouble), and that (b) setup doesn't rename scripts that didn't complete
> normally to "*.done".  Neither is true at the moment.  PTC, of course.


  Well, only if we wanted it to be 100% infallible.  But my line of thinking
is that cygcheck could do a lot of the basic checks that we normally advise
people to do manually when they present on the list with tricky-to-diagnose
problems.  Just because postinstall scripts don't always report errors
correctly, and just because setup does sometimes rename scripts that didn't
complete, that doesn't stop us from advising people to manually browse through
/etc/postinstall looking for scripts that don't have ".done" on the end.  So
it would be just as useful and likely to save us a cycle of
message-and-response if cygcheck had already provided that information for us.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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