Strange Issue with Launching Cygwin bash and other Applications

Andrey Repin
Sat Feb 14 02:23:00 GMT 2015

Greetings, Klemm, Michael!

> After the last restart (and maybe also after an update of Cygwin last
> week), the first start of bash takes hideously long (about 2 minutes).  The
> same happens to programs like latexmk:

> $ time latexmk --help
> Latexmk: This is Latexmk, John Collins, 10 January 2015, version: 4.42.
> [... more output ...]
> Report bugs etc to John Collins <jcc8 at>.

> real    1m39.914s
> user    0m0.000s
> sys     0m0.015s

> I did an strace on latexmk and it seems that something is querying the
> Active Directory of my computers domain through the VPN:

> 1047703 1224686 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX>
> 513639 1738325 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 525120 2263445 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 522731 2786176 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >
> 518198 3304374 [main] perl 11652 pwdgrp::fetch_account_from_windows: line: < XXXXXXXXXXXXXXXXXXXX >

> [I replaced the true group/account names for privacy reasons.]

> Each query takes a little while and there are lots of them.  Some even take
> longer than a second.  This continues for quite a while until latexmk finally prints its help message.

> I have found the queried the log of cygcheck.

> How can I convince Cygwin (or one of its components) that this is bad idea and to avoid it?

This is not a bad idea to query actual information from AD, instead of using
potentially stale flatfile database that was used prior to 1.7.34 release.
However, it may be going a little too far in this regard. You can probably
speed up the process. Please try the 1.7.35 (experimental) Cygwin version (in
setup, click on the twister against "cygwin" package until the required
version pops up).
For further information, please refer to the and recent discussion
starting around

I'm wondering, where you were last year, when the development of new
authentication scheme released with 1.7.34 was ongoing?

Andrey Repin ( 14.02.2015, <02:32>

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list