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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Sat, 11 Feb 2012 16:51:59 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <541388973.20120211165159@mtu-net.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: postinstall reboots system; saving settings for reinstall?
In-Reply-To: <20120211101113.GB9823@calimero.vinschen.de>
References: <CAHfZ7XqYWjid2V9UK33mKx1t_oEqtJKnz9L-D07wonxgeiH_sw AT mail DOT gmail DOT com> <20120211101113 DOT GB9823 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes
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

Greetings, Corinna Vinschen!

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

What struck my mind while reading your reply - some antivirus software could
reboot system in an attempt to prevent infection.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 11.02.2012, <16:50>

Sorry for my terrible english...


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