delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/19/06:50:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=rdLny8LlymWRCUGt
BKAbx3FlwXw5l6c6pD1Yt6vbO2dGMZBBqBBh6Iq4w+XDnGbolVZAZYxwOf+NqH3x
ur/Zpfp+2vgwUap9Ux0TlNzlUz6rs8Yg0AWDdS1Cqv1QBz1ykCO9YYeHhJR5ANO3
yhLA4/cQjY7oRo7EH1e/9w8R4fE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Ce90RVJ72kBHv6IqniD66J
KTDPE=; b=jgtwn6ypf6CNyTz2bUnSQjeexw9iNQGo6D44mN0szgMJoq/fxg9B0m
kP9TiV7EKuTwY+TKVD51K7KTg8fnClVDBqHh/5vlZgwIFXOszmA3E/+y0hF7Uce0
upO0bEVbYQ/1Rh1VcBQQKK1HueGErN5wMIBZoKXQf3t5/sWkmKCbo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:yandex, H*x:Bat!, H*UA:Bat!, H*RU:192.168.1.10
X-HELO: forward104j.mail.yandex.net
Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 19 Mar 2018 13:39:41 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1993623302.20180319133941@yandex.ru>
To: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>, cygwin AT cygwin DOT com
Subject: Re: output warning for cygwin process running at setup__.exe
In-Reply-To: <daf01074-46f8-3680-0f24-28f950d8af4a@SystematicSw.ab.ca>
References: <920600 DOT 51654 DOT qm AT web103111 DOT mail DOT kks DOT yahoo DOT co DOT jp> <9410201895 DOT 20180319024642 AT yandex DOT ru> <11025 DOT 1286 DOT qm AT web103117 DOT mail DOT kks DOT yahoo DOT co DOT jp> <774778050 DOT 20180319055609 AT yandex DOT ru> <4afd0f8f-f3fd-d41f-1e82-2beb0804f109 AT SystematicSw DOT ab DOT ca> <1694481348 DOT 20180319070236 AT yandex DOT ru> <687282 DOT 15682 DOT qm AT web103112 DOT mail DOT kks DOT yahoo DOT co DOT jp> <daf01074-46f8-3680-0f24-28f950d8af4a AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Brian Inglis!

>>> The problem is, not all packages are prepared to deal with locked shared
>>> objects (in truth, none are). Which may leave system in an inconsistent
>>> state even after reboot.

> Cygwin setup uses standard Windows wininit processing to perform the
> replacements on restart.

Does it schedule a rebase after replacement?

>> Server service like cygserver always start after windows re-start if it is
>> registered. So restart does not always kill cygwin processes. I do not want
>> to force to  kill cygwin process by setupXX.exe but output the warning.

> Only if a service is registered for Automatic startup: you can change this to
> Manual, and restart services in a permanent last postinstall script prefix e.g.
> zp_zzz_services.dash, which can also be executed by a scheduled task, before
> starting Cygwin from e.g. a XWin Server taskbar or Start Menu shortcut.

> Cygwin setup could operate more consistently and transparently if setup warned,
> then shutdown running Cygwin services and noted them, and killed all remaining
> processes, before beginning the install phase, then restarted previously noted
> running services after the postinstall phase.

Or it could rename the objects it failed to delete, and use wininit to
cleanup.


-- 
With best regards,
Andrey Repin
Monday, March 19, 2018 13:37:06

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