delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/03/11:24:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 68E7E3959E5D
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=Ac10o1bG c=1 sm=1 tr=0 ts=61095f8b
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
References: <DM8PR09MB70959D0E3923BE1BE86F7285A5ED9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<YQenbE7ZbwzzcdQM AT calimero DOT vinschen DOT de>
<DM8PR09MB70955B8F8E1A180504AE0718A5EF9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<YQgdnllE3OoKkVOm AT calimero DOT vinschen DOT de>
<DM8PR09MB7095EEA62C0E5D51C704CAA5A5EF9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<DM8PR09MB7095E8E61444B71762F84138A5EF9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<771e99c7-19c5-df67-abf2-fefde0e4d7b5 AT SystematicSw DOT ab DOT ca>
<DM8PR09MB70951F494B3C864A5D9F716EA5EF9 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<57515f66-8c88-5078-8726-4883f8e1e325 AT SystematicSw DOT ab DOT ca>
<DM8PR09MB70959B56526555CB5512B258A5F09 AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: Unable to start Cygwin64 terminal after password change
Message-ID: <63cd211e-8a4d-bfa6-5a63-aa0621af31b4@SystematicSw.ab.ca>
Date: Tue, 3 Aug 2021 09:23:55 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <DM8PR09MB70959B56526555CB5512B258A5F09@DM8PR09MB7095.namprd09.prod.outlook.com>
X-CMAE-Envelope: MS4xfHSJIcMzlxASF4zBsql5xqF4RTSq8IhWKInk0hFvNF0YROwHm2K6tLNcAVQpLQbHA5GidMmiteMMU77X/woeHUaAa0Kq7rO+9mQI3QCX/2R3U4nAFCy4
gULtU9suUSKQvB+BHRkdk0ghZsYKYyZrEMlErNN/pVLl/gFx4br6KoH6M7FK8S3FMff9s10vJiXfGWNA3CQZvs+pxwGPUCqQTek=
X-Spam-Status: No, score=-1161.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-08-02 19:47, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
>> How do you install and upgrade Cygwin and Packages?
> 
> Why? I wasn't upgrading anything this time. But when I need to 
> upgrade, I create a ticket for admins to stop cygserver, then I
> update all the files, and then I create a ticket to restart the
> service. (BTW, Setup won't be able to complete and update cygwin1.dll
> if anything of Cygwin is still running -- so it's hard to miss.)

You were "upgrading" your domain account AD data cached by cygserver.

If access to make changes to executables live fails, Cygwin Setup will 
arrange for the changes to be made when the system next restarts.

> Everything worked prior to my password change (and that was the
> _only_ thing that I was changing, not packages). After that
> I was unable to start Cygwin Terminal (it blinked "This account is 
> currently not available" at me, and closed immediately).
> I rebooted the machine, to no avail.

As Corinna suggested, your system may be set up for "Fast Restart" or 
whatever it is now labelled, which may play "fast and loose" with the 
idea of terminating and restarting system, service, and user processes.

> "cygcheck" was showing broken output for one of my secondary group 
> name. "id" was showing numeric user / group (nothing broken, though).
> "strace" for "id" showed it consulted cygserver. >
> When admin stopped cygserver, right away I was able to start the 
> terminal again (without even any need to re-login, let alone to
> reboot). >
> It was all described previously in my emails to this list.
> 
> The thing is that I _need_ cygserver because I use shared memory.
> So I will have to ask admin to restart, eventually.

Cygserver also caches Cygwin process and user account data, including 
local SAM and *domain* account data (speeds up all AD data accesses), so 
it is possible that could mess you up.

You might want to make your admins aware of possible issues, and any 
time you or they are going to change any domain data including accounts, 
passwords, or structure, that could affect or that matter to Cygwin 
processes on that system, tell each other, so you can stop Cygwin 
processes and they can stop cygserver, before any changes, and restart 
cygserver after.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019