delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; q=dns; s=default; b=r/ymS39NbrR6QZb4pOGrljRgV3yI | |
GytQkyBj0oAGp+npY/qt2+lib/uTQyMsJmrmNJvpfZ4klJTsu4dgxA9ifaS+rSZm | |
xJ7NuoQhkMC+mYbzakbMPdgkDUhRxnOHexdmgkQ7epXc2f0kdnNmpajlqWCmYdQg | |
j3RN1np33D34Xac= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version:subject:from | |
:in-reply-to:date:content-transfer-encoding:message-id | |
:references:to; s=default; bh=IUtTdxjj59+hiUqTEZTV3lf4ejY=; b=le | |
2P4TuWCFTBxOwukDOLzFprLf0+1dOMCoVeaQOKbqBC9XMCv0muC2WTsxUprxMLQa | |
tC/4XsQvAcn47f6jlzaHz8kynzN6wQ33dxvFcZLG27xUlrx+Y1k4LP3K55fNC76D | |
cOzX1JmtqYbncoMjbXyvYIUZAWUymafh1sQgwU3Yw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-0.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=are, merely, won, posts |
X-HELO: | etr-usa.com |
Mime-Version: | 1.0 (Mac OS X Mail 9.3 \(3124\)) |
Subject: | Re: system lags and dysfunctional after cygwin update |
From: | Warren Young <wyml AT etr-usa DOT com> |
In-Reply-To: | <d3f94b6d-b864-bb4a-d358-f3c685e690f0@gmail.com> |
Date: | Fri, 13 May 2016 09:38:01 -0600 |
Message-Id: | <6CBA6730-6968-4CE8-ADEE-B18B05FB0A88@etr-usa.com> |
References: | <99f62d42-de9c-2209-85c4-42454ab9cf3c AT gmail DOT com> <CE58DC48-A572-47AF-9EB7-61A124F83522 AT etr-usa DOT com> <d3f94b6d-b864-bb4a-d358-f3c685e690f0 AT gmail DOT com> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id u4DFcUXi000596 |
On May 13, 2016, at 8:02 AM, Ben Altman <benalt AT gmail DOT com> wrote: > > Doing a ksh --version gives me: version sh (AT&T Research) 93u+ 2012-08-01 > > I haven't upgraded yet ksh93u+ is the latest stable version. Everything after that are beta versions which have been in beta for many years, which may be a hint that they’re not quite ready for prime time. > I was compiling under 32-bit Cygwin and if successful would try it on the 64-bit version. Cygwin 32 and Cygwin 64 are somewhat incompatible. They share a filesystem and can run each others’ programs, but a whole bunch of other stuff will not work correctly between them. If you must have both installed, treat them as wholly independent worlds, except possibly in terms of sharing files. And not necessarily even then, since files produced from 32-bit Cygwin may not be compatible with a consumer linked against 64-bit Cygwin, nor vice versa. The most obvious case is compiler object files, but there are other cases. It’s best if you install only one or the other, not both. That option isn’t always available. Those of us maintaining packages typically need both installed, for example. > The current version I am using will not work with 64-bit Cygwin. We can’t help you if you won’t provide details. I infer from your prior posts that you are a programmer. How do you like “does not work” when you get it in a bug report? Give us the sort of bug report you wish you’d receive from your users. > I am not sure what is involved in packaging ksh with Cygwin https://cygwin.com/setup.html > I was under the impression that if the licensing wasn't GNU it would be a problem even though it is open source. Not exactly. The license merely has to be *compatible* with the GPL as far as binary distribution goes, since the binaries distributed in the Cygwin package repo are linked to cygwin1.dll, which is GPL’d. But after taking a peek at the AST license, it’s pretty clear it’s incompatible with the GPL. So, new advice: switch to mksh. :) > I renamed my cygwin directory...a complete reinstall...this did not fix the problem. So that would exonerate Cygwin, then, unless your contention is that a fresh installation somehow causes problems on only your machine, and not on all the others Cygwin is installed on every day. No. The problem must be in the environment external to Cygwin. > typing a simple command like "ls" will take upwards of 20 seconds and all the other side effects. I'll see about doing the strace with the script though I will probably have to do it next week though. You can do the strace test with ls. Simpler tests are better. > My script runs VPNClient Ah hah! Many VPNs are…stringent in that they try to force *everything* through the VPN. So, if Cygwin is trying to do AD lookups to map NTFS ACLs to human readable names in ls, and there is no AD server on the other end of the VPN that can answer those questions, you could very easily get that sort of symptom. Solution: test with and without the VPN. For instance, reboot cleanly, bring up the VPN, then say “ls -l”. If that gives the same symptom, you know it’s something like I described above. It is possible the new AD-aware permission handling in Cygwin 1.7.34 is causing a problem for you. If you can’t fix the VPN or the AD setup, you could adjust the /etc/nsswitch.conf file as described here to revert to the old /etc/passwd based permission handling: https://cygwin.com/cygwin-ug-net/ntsec.html In effect, /etc/passwd and /etc/group act as static AD caches that can work while the AD server is unavailable. -- 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
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |