From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43440 invoked by alias); 19 Apr 2016 11:21:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 43338 invoked by uid 89); 19 Apr 2016 11:21:13 -0000 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 Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 19 Apr 2016 11:20:59 +0000 Received: by mail-wm0-f65.google.com with SMTP id l6so4202225wml.3 for ; Tue, 19 Apr 2016 04:20:59 -0700 (PDT) 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) Received: from [192.168.44.44] (37-48-21-183.tmcz.cz. [37.48.21.183]) by smtp.gmail.com with ESMTPSA id i5sm69089477wjx.15.2016.04.19.04.20.55 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 04:20:55 -0700 (PDT) Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument To: cygwin@cygwin.com References: <20160128172322.GC18626@calimero.vinschen.de> <5715DCB9.7060401@gmail.com> <20160419081107.GC26794@calimero.vinschen.de> From: Tomas Jura Message-ID: <57161490.1000301@gmail.com> Date: Tue, 19 Apr 2016 13:30:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-04/txt/msg00463.txt.bz2 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