X-Recipient: archive-cygwin@delorie.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@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <541388973.20120211165159@mtu-net.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: postinstall reboots system; saving settings for reinstall?
In-Reply-To: <20120211101113.GB9823@calimero.vinschen.de>
References: <CAHfZ7XqYWjid2V9UK33mKx1t_oEqtJKnz9L-D07wonxgeiH_sw@mail.gmail.com> <20120211101113.GB9823@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@freemail.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

