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