delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/19/07:21:32

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=lRpEl5UBT1sENXvi
P/SJ5ADQhJnzJ2li8SnvIs/sXXQV9JoOzyuBtVj2cbyWRXqy4FdDsokaBWo3po9a
PDLHVvSZsA8/3Q3A/7lraEhXXxvOujKjRMcQZNsC5+PjVXB/tr8luamep4Pe0clu
pIRF3YY6cVdRsAw8Xs75ptOSXDk=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=O060tYikwL13eCE9YTjsZd
jkm80=; b=TX4mAxgUeAuHFdsBappObua12jR2m4wPbVOCO3wgFhG5D2iSCwxSJ8
N9oD9Ii55K+uWJNTO7xQ63j84Wo1itPiWWdQMmZyHg2+kIyQdMi1bEE7bGHUKywz
fB+9/Srfz1eoOxo2KTBvl93yP8LHAQsS8iVW/MnT8USX0nNwY7vHA=
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=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=notified, Hx-languages-length:1748
X-HELO: mail-wm0-f65.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JRXCaRcmUJgOC8N20TaYzas8yWDttLFa8+KP5iVd6M0=; b=aEvxx9DaBIiFWuxkBvX26klbPdyEaCXRNUJ+tUPb+FiMxmC+6iZK7GJSTWbtzP0J+d REWDJOpqzJYOuWMe4KT8w70x7StzBnMA0hsguawuop1K3DTt77VEaGR+FCF5gZgHnoSZ XimEz7HqfNIF1UPLNvZ57JWLqbiH5A4JFLGw9ofDgT3WlOrKiS5dq0u6Q0ZuYvT7tWAw 1od6SUQTZBo3k+9ZflGKMNx+lGwK+j7Z6w11x6JdXckIitvX9gxFGyqfLi3XjZ1mCIkN FQdCvLk+p7OKpT5mBudSVuO0Ir10CzRrcQhXa6w8iMF/nFpw7dh2dbNC8NLQIX5njHQT 8nPA==
X-Gm-Message-State: AOPr4FUr46grIy2ZwWOYM1nmnR95D1MALeC9GIVernec7V28uKuYXF6S/0R3hHY5ehufJw==
X-Received: by 10.28.23.70 with SMTP id 67mr2977548wmx.70.1461064856611; Tue, 19 Apr 2016 04:20:56 -0700 (PDT)
Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument
To: cygwin AT cygwin DOT com
References: <20160128172322 DOT GC18626 AT calimero DOT vinschen DOT de> <5715DCB9 DOT 7060401 AT gmail DOT com> <20160419081107 DOT GC26794 AT calimero DOT vinschen DOT de>
From: Tomas Jura <tomas DOT jura1 AT gmail DOT com>
Message-ID: <57161490.1000301@gmail.com>
Date: Tue, 19 Apr 2016 13:20:48 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.2
MIME-Version: 1.0
In-Reply-To: <20160419081107.GC26794@calimero.vinschen.de>

Hi

My passwd and groups files got automatically renamed. I can't identify 
the exact date. Last update of cygwin I did yesterday, but the rename 
could happen a long time ago.

 >pwd
/etc
 > ls  passwd* groups*
passwd.backup groups.backup

 > groups
groups: cannot find name for group ID 10749228312
10749228312 ZTB+Group(513) Administrators Users ..... ZTB+Group(1298252)...

ZTB is my AD domain. Seems that any of the groups that I have assigned 
on the domain level was not resolved.

In the old groups.backup there is a record:
None:S-1-5-21-4091695911-3229423371-1046061999-513:513:

BTW: My machine is Windows Server 2008, yesterday I also run the Windows 
update procedure before I notified the chmod error.
A months ago, I had to migrate to the new AD account. The cygwin was 
installed using my old account, which is deleted now. Is it possible 
that the query to AD runs under my old account?

Tomas

On 04/19/2016 10:11 AM, Corinna Vinschen wrote:
> On Apr 19 09:22, Tomas Jura wrote:
>> Hi
>>
>> I got error  chmod on config.lock failed: Invalid argument and I was able to
>> catch the strace. It is attached.
> What I see from the strace, chmod fails to request group information:
>
> 299755  597014 [main] chmod 5840 internal_getlogin: group not found in group DB
>
> So it looks like either your /etc/passwd or your /etc/group file is
> broken.   The new account handling is a bit more sensitive to broken
> passwd and group files.  For more information on the changes in account
> handling see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping
>
> For a start, just move both files out of the way, stop your Cygwin
> processes and try again.
>
>
> Corinna
>


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