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 Reply-To: Andrey Repin Message-ID: <541388973.20120211165159@mtu-net.ru> To: Corinna Vinschen Subject: Re: postinstall reboots system; saving settings for reinstall? In-Reply-To: <20120211101113.GB9823@calimero.vinschen.de> References: <20120211101113 DOT GB9823 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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