delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/20/11:40:01

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=BD58CaYe7FGFE9BRAVHeCS6IgMTLLIowtBj7T08Dy4hg3uWdsu1f1
La+5uFZAuxbiOu4+wW5zCs7COABkTYb61IKdg9P2rhnPP/zdiJpZeIlqDQDChpk5
8t2C355QKVIoLtxW1mMpvInfxCugRjuOaI28WsbDQjljtoKJeXOV8k=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=xzpZxNn4SIM0gl2HUMASjZhwMQE=; b=G4eGZam18asRLoTwquynzZf1AmEt
AvXZ74LrQxsbEtRStyrbLZKuhXnoghqn2dqkQe7WnjDcrqJ1PIZ7oEI4X4VehX3h
fkkzSMS8upY9oF0KU8O+GJVrsLrfB/QXymp+1Ei+N6T72wm8rmoZy6POcDs+mCLH
gFHtYweVGfEzCRs=
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=-4.4 required=5.0 tests=AWL,BAYES_00,TBC autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 20 Feb 2015 17:39:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3
Message-ID: <20150220163938.GB26084@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150218105937 DOT GA28211 AT calimero DOT vinschen DOT de> <87d255htw7 DOT fsf AT Rainer DOT invalid> <20150220095617 DOT GO26084 AT calimero DOT vinschen DOT de> <874mqgiz26 DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
In-Reply-To: <874mqgiz26.fsf@Rainer.invalid>
User-Agent: Mutt/1.5.23 (2014-03-12)

--oIKd4Ysag+ysiDHn
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 20 12:48, Achim Gratz wrote:
> Corinna Vinschen writes:
> > And it's fast with other shells?  Bash is reading/writing a history
> > file, too, for instance...
>=20
> Yes, that's the puzzling bit; although I don't have nearly the same
> number of history lines in .bash_history, but the difference still is at
> least an order of magnitude.
>=20
> > I can't debug this.  Care to strace it to find out where the problem
> > might be?  Is that a 1.7.34+ problem?
>=20
> I think so.  Since I switched very early to the LDAP integration code
> and have been running on snapshots most of the time since, I can't
> really say when exactly this was introduced.
>=20
> > Hmm.  On second thought, this might still be an LDAP problem.  I have a
> > hunch, and it's related to
> >
> >   https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nfs
> >   https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-samba
> >
> > But we need to discuss and debug this.  From me crummy little home
> > network I have a hard time to see issues like that.
>=20
> Me too, I usually only see this when I'm on business travel, although I
> can use the VPN from home.

Would be cool if you could test that.  Assuming you're not accessing
NFS shares, it may be the Samba stuff.  The culprits are probably
the calls to convert_samba_sd in check_file_access and the cygpsid::get_id
method which explicitely checks for S-1-22 SIDs and tries to convert them
to a Windows account per RFC 2307.

If that's the problem, it might be prudent to switch this off by default
and to enable that only via a setting in /etc/nsswitch.conf.

> > One bug report at a time would be nice...  This could be related to the
> > changes in tty read/write related to
> > https://cygwin.com/ml/cygwin-developers/2014-11/msg00000.html
> > but I have only 24h per day for hacking and debugging, too.  Sans sleep,
> > sorry.
>=20
> Understood.  The timing seems about right, I first noticed this
> beginning of December.
>=20
> > Yep.  We should contemplate to allow sending a signal to cygserver to
> > invalidate its cache.  Somebody would have to code that.  Sigh.
>=20
> Yes, yes. :-) In the meantime, restarting the service manually does
> work, unfortunately I can't add this to the script that opens the VPN
> tunnel.

Erm... if you can't add *this* to the script, you wouldn't be able to
add the kill -USR1 call to the script either, isn't it?


Corinna

P.S.: IRC?

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--oIKd4Ysag+ysiDHn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU52NKAAoJEPU2Bp2uRE+gAcYQAJ18sORjtfmEYL7N+oBvnLF5
+VTX2AD/VB9CpSiWQ/4zq5JeQdt9nQHGZmnzBwkQC2EgxmqqYU5YPGDVUjE44c1j
DAldlEFfnWQujLmgCTgY1YItEYV4IFCf5tIOngBf3zl+wekWGTeVl9TrpDzWM9H8
CXQhyJPntqYc8lS/A2GQnFZJLYMANoCcUwxUu0tMVWplNXaixFOdYCUlyWw7J2Oy
2Q2WOYK5QLZ0HUqZhJKfLmXtXXTi8YxmSOd4eDNT447ru7Equ4rgkZWkfme+ofhD
+G35+4YStDJLMSJ4cR87pQ3Y57XthbaxLE1fZ0F52uNT1/5Zp/CfGVwR0DspgY+k
S2lx6x4R+9CBagf7pytZvWz/xJzoMoYdjfc2yVlylncjw1nBBIYMykYatgpMvbu/
EDhPSAPQy2hLrVjAf3HtWm7/7v8ZbqsViDA1GZRdkGjV+BZE8iz7kQz/vCbWuI0p
wK2Who4weOLXBJUofDZ1kylAmSl/7T/zrJ0VCk8P5Pn5uw0k1sEGIBU+5M/9hLEI
XKuXTArkdnJACtcD43voEYt9tG1GPFFD3MZJ6p1c7H9xq+SSVp8QP9LWmxO0n+8D
iK0QmunRaa1IzqmA8LojuqTorVjLsA++PaVzCL+yfMZhnfSPKhs0pF6BaJy7cglB
qapmzASRUrOegwo6f0Nc
=DVgs
-----END PGP SIGNATURE-----

--oIKd4Ysag+ysiDHn--

- Raw text -


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