delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/25/13:14:35

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=CdEZH
z7NUjdukn+rhjL9eaAJ+hS+vDajpUsdz6wT5znIKdgKWQqza6oTKwQV37GWolYjJ
nEg2mdp08PWQiqL1RHmQtbNJFEmy97RjckkWP7pjvQtaYWa3Qu2NlFFmH/4hFIv5
NV8UFvF2EjTe4UZ9akcFMlNC8g2Mkv6Hb/ie3E=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=mUwr8oOYJ8I
T0+LZsMX0cn6E6Es=; b=m+j6e1qew0o/pqiPDNX+CV9Ekmgtl6MukiRIQnLEwEu
6RZcA2p9EaQob2B+RKysxkgdpDQIzWZwPR8aiA0y9/Jk37vU5SdammW18vsoPPxL
Pq6L3i9J0ZBc0XOqbZ/ECLzbKX73okJIKn3MsW8iYqcQWCyTR/O4wuTHR9ke1ugA
=
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: Yes, score=5.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,SPAM_BODY,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-in-16.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-18.arcor-online.net AB01F3DC30E
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de>
Date: Tue, 25 Feb 2014 19:14:07 +0100
In-Reply-To: <20140213143849.GH2246@calimero.vinschen.de> (Corinna Vinschen's message of "Thu, 13 Feb 2014 15:38:49 +0100")
Message-ID: <87fvn7cb68.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0

Corinna Vinschen writes:
> This is a pretty intrusive change, in need of some serious testing, so
> I'd like to ask for volunteers.  The latest 2014-02-13 snapshot from
> http://cygwin.com/snapshots/ contains the changes, including the latest
> bugfix.

I've tested the 2014-02-19 snapshot at work.  Two problems:

1. Running "id" takes 13 seconds to fetch my 440 group memberships
(possibly there are some users that would be in ~10x as many groups).
Caching doesn't seem to be effective for this since the next several
invocations of "id" take the same time.  During most of that time you
actually can't ^C the process, lsass is growing a few dozen threads and
seems to be talking to the DC.  Falling back to use just the /etc files
makes this work really fast (much faster than without the snapshot).

2. I use a few volumes on NetApp filers that have security set up so
that you can't change attributes.  That means POSIX permissions are
always listed as "0000".  I uausally mount these noacl, but when I
access them via their UNC path (for instance when Windows runs a script
from a CWD on that volume, then Perl reports false for file test
operators (-x, -w) other than existence.  Backing out the snapshot
reverts to the previous behaviour of these test operators correctly
determining that my effective rights (via normal and extended security
attributes tied to a group memberships) are sufficient.  The shell
(bash, tcsh) test operators work correctly, but I don't know what Perl
is doing differently.  This is independent of whether I use just the
/etc files or full AD lookup (switched via /etc/nsswitch.conf) and
currently a showstopper for me.  I've booby-trapped a few checks to
always return true and the actual creation of directories and files then
succeeds (as it has always done), but I can't just pull out every one of
these from all scripts.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019