public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Bill Stewart <bstewart@iname.com>
To: cygwin@cygwin.com
Subject: Re: cygwin snapshots after 23, Feb. ocasionally destroys windows logon session
Date: Mon, 04 Mar 2019 17:26:00 -0000	[thread overview]
Message-ID: <CANV9t=RwAaihpjM87SSMq0XYF0t_gHQ_ZBNojtx77ccZ1Xg6JQ@mail.gmail.com> (raw)
In-Reply-To: <20190304163857.GI3785@calimero.vinschen.de>

On Mon, Mar 4, 2019 at 9:39 AM Corinna Vinschen wrote:

> I reverted the entire patchset and uploaded new developer snapshots
> to https://cygwin.com/snapshots/.
>
> Incidentally, Microsoft's OpenSSH port calls LoadUserProfile, but it
> never calls UnloadUserProfile.  I guess they know why.
>
> It seemed like a good idea at the time...

I remember back in the XP days there was a tool named "UPHClean" (
https://support.microsoft.com/en-us/help/837115/). According to that
article:

"UPHClean monitors the computer while you log off, and then UPHClean
unloads and reconciles user profiles..."

Also in that article:

"Windows Vista and Windows Server 2008 include the functionality of the
automatic detection and fix tool (UPHClean)..."

So if I had to guess:

* The core Windows "User Profile Service" (profsvc) automatically handles
profile unloading

* The Microsoft port of OpenSSH relies on this functionality instead of
calling UnloadUserProfile on its own

I could be wrong, of course (as I said, this is just guesswork on my part).

Bill

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

  reply	other threads:[~2019-03-04 17:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-04 15:28 Takashi Yano
2019-03-04 15:57 ` Corinna Vinschen
2019-03-04 16:06   ` Corinna Vinschen
2019-03-04 16:39     ` Corinna Vinschen
2019-03-04 17:26       ` Bill Stewart [this message]
2019-03-05 12:16       ` Takashi Yano
2019-03-05 12:46         ` Corinna Vinschen
2019-03-04 18:10 ` Achim Gratz
2019-03-04 19:35   ` 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='CANV9t=RwAaihpjM87SSMq0XYF0t_gHQ_ZBNojtx77ccZ1Xg6JQ@mail.gmail.com' \
    --to=bstewart@iname.com \
    --cc=cygwin@cygwin.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).