public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: Keith Christian <keith1christian@gmail.com>,
	"cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits
Date: Thu, 20 Jan 2022 20:24:47 +0000	[thread overview]
Message-ID: <SJ0PR09MB71023C5EF158E30414727266A55A9@SJ0PR09MB7102.namprd09.prod.outlook.com> (raw)
In-Reply-To: <CAFWoy7EJ3tkc2F9h74_hny0Fu5Jf5qLeca1pFdSUaxX7YjTLmg@mail.gmail.com>

Keith,

There should be only one of them running, unless you have multiple Cygwin installations,
then there can be per-installation instances.  Restart of all Cygwin processes was always
required (because the main DLL may not be properly replaced while it's in use by
any process) -- but a reboot usually took care of that quite well...

Honestly, this was new for me, too.  Formerly, install with a following reboot was all I needed
to do (since I'm not a power user on my work PC, that was the only way for me to "restart"
the service, anyways).  But now the reboot alone does not seem to help anymore: looks like
Win10 loads up services in a different (fast) fashion, like a wake-up from hibernate.
So an explicit restart of cygserver is now required (and now I have to ask sysadmin
to do that for me at work -- sigh).

And the problem, as I understand it, is that cygserver caches the user IDs these days.
When mintty starts up, it looks up your account, and [with new DLL in place but no restart]
it can't!  The message that shows up momentarily in that disappearing window says exactly so,
"This account is currently not available", only if we can read this fast.

No problems at home, though :-)

HTH,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


  reply	other threads:[~2022-01-20 20:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 16:15 Keith Christian
2022-01-20 16:41 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2022-01-20 18:33   ` Keith Christian
2022-01-20 20:24     ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] [this message]
2022-01-20 23:02       ` Keith Christian
2022-01-21  7:45       ` Brian Inglis
2022-01-26 14:50         ` Andrey Repin
2022-01-26 20:23           ` services startup postinstall scripts Brian Inglis
2022-01-28  8:18             ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR09MB71023C5EF158E30414727266A55A9@SJ0PR09MB7102.namprd09.prod.outlook.com \
    --to=lavr@ncbi.nlm.nih.gov \
    --cc=cygwin@cygwin.com \
    --cc=keith1christian@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).