delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/11/05:12:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 11 Feb 2012 11:11:13 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: postinstall reboots system; saving settings for reinstall?
Message-ID: <20120211101113.GB9823@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAHfZ7XqYWjid2V9UK33mKx1t_oEqtJKnz9L-D07wonxgeiH_sw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAHfZ7XqYWjid2V9UK33mKx1t_oEqtJKnz9L-D07wonxgeiH_sw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Feb 10 19:46, Ti Strga wrote:
> Hi.
> 
> Earlier today I was updating my cygwin installation (WinXP, cygwin 1.7
> as of a couple weeks ago) when the computer suddenly rebooted.
> Because there were so other things running at the time I assumed it
> was just bad mojo, but after doing things slow and methodical-like, I
> narrowed it down to a cygwin setup.exe postinstall step.  It's 100%
> reproducible -- but I don't know which package is triggering it (as

You can probably find out by running the scripts in /etc/postinstall,
those which are not renamed to *.done, one at a time.

However, Cygwin is only user-space stuff.  If there's no explicit reboot
call in a postinstall script (which I doubt), then you're suffering some
more serious problem which is just accidentally triggered by an action
in the script.  Note that the Cygwin DLL has no builtin code which would
reboot the machine.  The only package which can do that is the shutdown
package, and that one has no postinstall script.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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