From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 68E7E3959E5D for ; Tue, 3 Aug 2021 15:23:56 +0000 (GMT) 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 Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id AsmBma3CcFRDpAwGpm9IOW; Tue, 03 Aug 2021 15:23:55 +0000 Received: from [192.168.1.104] ([68.147.0.90]) by cmsmtp with ESMTP id AwGpmJ97rB9dPAwGpmCsXZ; Tue, 03 Aug 2021 15:23:55 +0000 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 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com References: <771e99c7-19c5-df67-abf2-fefde0e4d7b5@SystematicSw.ab.ca> <57515f66-8c88-5078-8726-4883f8e1e325@SystematicSw.ab.ca> From: Brian Inglis 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2021 15:23:58 -0000 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.]