delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/29/13:56:11

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:from:reply-to:to:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; q=dns; s=
default; b=UNpHWMz3ptDGbRYUDwRkE5MxZV7OPBRemQ1he9q3i8W4zfHFhAvk4
PNRtxivlYGZ0Cr+ihqkBwHBZI8BKIArTYcog3FdBejCVgUp86oWO0JMemygh08WH
vNeKnyqrGEFOD0GvYK7gaViq99YFNCuIX4EBnywEsMX+KzSQ0ZlwUA=
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:from:reply-to:to:subject:date:message-id
:content-type:content-transfer-encoding:mime-version; s=default;
bh=edNWjbRAJdwyM9/pGk7dAcf2RWg=; b=G/v8/Nsqc8ViT6P2oWo8MhEKpEtd
Bomt3ZwD+GOsvYD0bAV7v7xehGKWWnuh5ZHOF8xyfER+0uEn/vDEomNnqUSDamMI
uosRwqXJ17JAJAJLj2tetC68Ckqzn47BP56hJmUPKl6QlxumJce1OsA4NDO8jI/o
qN2PyH8SN1atkJg=
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-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=emails
X-HELO: nihcesxwayst05.hub.nih.gov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1580324118; x=1611860118; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=08us25fznmaV4SExqWrNmXgyYgeEtxY1xG38B2kt8Qo=; b=QHwakJizV/DcN8wzmtnFFLIcQ7C1Z4GEroWhblBZtP6DnnWH1AkGwgS1 qbgAPPgLA/1GcxNxTBhTctwnGT/JUw9drjTujT11bN0jWjIW1MphdsejP lVT6SD11qCZXER0Qx28VTgJEXQm+Li4xUDwmRbgo8dyhwJlWbjX2dxUSC LgSqh1EX9AzXKIp3ymLjoq6ufIB7+p4h0chTNFxsyjfyg5EjffEa/1eDS O/cUCb2TX5v1py0KLIrAvImxggTPM1gbdbRO7uqe87nqE2rGaLT8PLSnf ciq6rfi+rr9P7dyw1DO+doI6t98EuIj1ivE5cXoNQFwq2q6aKBYH4QIXP w==;
IronPort-SDR: VyNVZjoEiJ3UcKMpYWp8MS6Bpz1cu2r5ftC11daN0KRC3ICqFEaqtGyeb+h0eOqZoFljAADDt1 cYiuVpNPwh+w==
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XVLrVTfOOpoQqgpG+zkzaE6SSwBLs9dnlTC2TzMxD55z0sSwG37kbtJRIk5WBdn4jB3Hh3Q+h7HwIbRumHEp7M6k5xy6yrOpRtjDZ8Me2dWLsvSm21niJFjCqoUrPGPA8fY6k+iFJE8Nmb5vYa0G5X7HidZRNxcWtiHvxEXl3VKZORnu9R+aUnskwQJei64F/1DoPHKs0qfLMmkD2Iky5iNMEPsIqhhv6W4MSl/AYIgt2fmOuUl7w/ur4ZOgQr3fTH1R8vraLztkEOwZIxCRKlCTEE+Dk6KX86TQg4iHCoKWPiWZ3Nvtjz7eBauibyb4Yd4ylZUnKSlf+QydmJYcfQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=08us25fznmaV4SExqWrNmXgyYgeEtxY1xG38B2kt8Qo=; b=Gx/FoPvNqH6zGUxOEgJf2chcrOToV944eZitRytEULHSfAX+J+51bgnRONbG2qazSlFfl/j4Cf+19UTXtrR0aLsCFOM3GSOzmV3vXBFLBToRJ5YuGamtFYh7xImVBQM2xioe5xsjI7kXxwQ/oyfgvxaqbjN4isn6qgsHDxnXQjHeiXh+9/H0LEoQjwMkTwAV8w31rQN1vG/XeVLFUTmjUm/uXcN1yT0i79xUGx2F6l7kcdiwRMMoJB7GYTF4XNfQFnVv/pYhrbvoyQjsCnMRaz2mYBnr7HmVzJkkJ4PV+WUghG8b0LY7mYfLbjPRs+oBEu5LaRatJYihd3fhwXF1YA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector2-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=08us25fznmaV4SExqWrNmXgyYgeEtxY1xG38B2kt8Qo=; b=EdGaf1TxAr17K+1XZIPcWP8W02MpjrXknDeWIDrB0kbDdXq6EQFbod5by5S2YIQCu4J7tGXXXBnIMfBDyyAF0ZdCMXwmeLWjPIis+jGOI+HuohlkM1VdMkgFEyn/CRX2N0oK/1Ibxgds3RdBq6rPrwFeUlPyysPDccCreJhyxUU=
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: cygrunsrv does not start cygsshd at boot
Date: Wed, 29 Jan 2020 18:55:13 +0000
Message-ID: <BN7PR09MB2866327D167EED1C27CC3AACA5050@BN7PR09MB2866.namprd09.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov;
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-messagedata: RdKXAHvVwjahnatCl3kHngzU++jjQM4oM+UREInFeqQ4RUwK4z6KhY/YZpjr5Y3BUDAzGeENHKmv/GnyeMkCGVzcZjq0BiRvgzKFBgVYt6j9k4+Ch/z3puaTI7dO1n0GNQHMA+OG7q2HHKH8hmI5XA==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: yTCB0+e/lOPIhM3uy+SRtfM/1qJDoEoViNsx8YsK3rgB4W5opcXdwICRqype3ucv
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00TItr0M017468

> Don't see where you read that?

The service control manager waits until the service stops or the specified preshutdown time-out value expires (this value can be set with the ChangeServiceConfig2 function). This control code should be used only in special circumstances, because a service that handles this notification

* blocks system shutdown *

until the service stops or the preshutdown time-out interval expires.

> Is that not better than abruptly terminating an sshd session, or abandoning sending a large email?

Depends.  When you are ready to reboot you usually don't have anything important running by then.

Also, emails "abandoned" while sending will be re-sent, in most decent mailers.

Finally, when you do need the pre-shutdown option, you can specify it with cygrunsrv directly (-O, --preshutdown)
 -- no need to deal with any manual registry changes.


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