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=ceT0Tj+YpARg7mS7aiCl1zxeft83Sd5H03Mj0jJGifq9Ch4by2HNP IZ53T8d9x8HznB332L1Zag9cvCI7B1bUpnrn3Wy/h0upozfHXm2PYeUdTo5KOeqw qr15ONTO37tW8FW2AS7nw5DeLg6xDwuOzhvJsoUfpks4CB49ZmOR9A= 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=/P7fi/XAHPkW+5fjufv16PbYUt4=; b=uYRKL09dqg2+uGQMeLTw2BF0vtJu YEGIO90xdqD99Ls2XfvvYTmAqaepQuidwWz/Flzc3frwL/rpDM+lSQqvYMay9xy3 I3EncWLthijMAx9rDbFbci6eNSEM30x3EntGmSyA2qCcWN1j9NGvAiKM1MU2xFug w3RNh9RcODGkqrk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 18 Nov 2014 16:22:11 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: occasional failure to look up Message-ID: <20141118152211.GZ3151@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y/tKdvIWQpFGRg6x" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --Y/tKdvIWQpFGRg6x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 18 14:50, Habermann, David (D) wrote: > I am using the AD-enabled cygwin test versions (v33-0.5), with nsswitch.c= onf setting to "db" only. >=20 > Occasionally when starting a cygwin terminal after a reboot I find that i= t get the following message: >=20 > /usr/bin/id: cannot find the name for group ID 1125370 >=20 > Note that this is not a group ID, but instead is my uid.=20 Do you login with your Microsoft account? In theory this shouldn't happen because in that case Cygwin converts the primary group (set to the user's SID by the OS) to "Users" to avoid having the same SID for user and group. Is 1125370 your primary group id? Can you please paste the output of `id'? OTOH, Windows doesn't care if the token's group list contains user SIDs but, in theory, they should be filtered out by Cygwin. But then again, there should be no difference between system start and later calls. Hmm. Can you please paste the output of `id' and $ /cygdrive/c/Windows/System32/whoami /user /groups /fo list in your reply? > Closing the terminal application and restarting it does not resolve > the issue, as I get the same message again. >=20 > Since I have several services (cygserver, sshd, cron, httpd2) all > starting at boot-time, I suspect that when these are first connecting > there is some kind of failure, which then gets cached. Sounds like there's something with cygserver going wrong, but I have not the faintest what that could be. > The easiest > way I've found to solve the problem is to shut down these services,[...] Stopping the terminal and restarting cygserver is not sufficient? Also, does this also happen if you don't start cygserver at all? When the problem occurs, can you provide an strace from id? $ strace -o id.trace /usr/bin/id The id.trace file would be interesting here. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Y/tKdvIWQpFGRg6x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUa2QjAAoJEPU2Bp2uRE+ginwP/0x0YG3NLD97H8JZzBn+gLB1 oYt0aiNJEYZXkbfU6HObifh0SrQyQ3Tu+4d05BSXUv0wnldQewl7cs5s+0h2n2eo FCP/ihITsgI5mNyiuS/+2maKXn/hS5hGSUVPIrQfk3/VIdWriPyfQvNljl2E3p59 dC1h4D/nfqNOaJjbsXsizzY2A2zidijOSHZmZvgkLVOXv9XkUl16mNfvBMiQ6cHn +gP5EnN3a64yQI20U9aSHfhIicyYQkM41MxJmiUZFOU66fX2gecIJQqt6s3N+KGq v68eCx2RMCP8JshPP1YHAu0ciyTyD65qJ9xTo0+SVClEkO9+jxiK/5+73tHNdL8g e9rCsuAOF9GsVSuTRH1G0XMF9ZZMLb7TrLED6dFsCWu7TZ26sJ3Mp5q/ULQoqoKK mCn3EQ1Ffpts4VySgg7j+vMW8Pxb7oWrq3DbQ+0htv51O3VcRQNCfuNJSvnkAreq ia2wyIFY9bDXq3axhKQEzujq4f9RYmAYRZazb3wJv7nACo19wW5EpNBdq7s9sclb 7j6D55MTKO02iXHwOynFJTHM5bc4UN9ByllcBl1nbTo1NAFGrWK6mLSQ7vUoJxXn KiwWdW75goHzPecl2vhJ5onho1KoOOI10N+gbYIRJayi9WjU4fWgK4qdBhDaOto0 xH73DpykEcR+zihUu7m0 =ZgmQ -----END PGP SIGNATURE----- --Y/tKdvIWQpFGRg6x--