delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/23/19:10:39

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:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; q=
dns; s=default; b=h2lyDw4I5j0I2qy3LK4a+N4BbJcGXIIzHhHIerPnW1W6Mc
7VXlkNNRs+lTIRUHUuybEor5vykkJuUY2HHNITuqkBQ1WJVMvpUJvpjeSJ8nIiiW
01lqRvHnG8jEjnAUQzU8f8Pxw9W3Wru2SVnL9JlOjO51WpVe7mCXlYFRa0AIU=
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:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:message-id; s=
default; bh=l0hM5TMUJA1aWG7+1g7lBPVwYm0=; b=lUgWcG0+WVTW02v2uw32
R/XTqC+7U9EBz36/Igex4ziDlUk3oJtc65lcbsn5c2GUn/ighT9T5H+IVBQl3TYi
/kD/3Pr98uzJfjpSZGw1NxyFTq/Hfm9yXO+iUTkWc6kHIAUL8i8ZmpSrIq9leNMc
n/AoHPLq2oWjhdn6/WWlD7A=
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.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: crane.lixil.net
MIME-Version: 1.0
Date: Fri, 23 May 2014 17:10:17 -0600
From: Joel Johnson <mrjoel AT lixil DOT net>
To: cygwin AT cygwin DOT com
Subject: New passwd handling upgrade =?UTF-8?Q?issue=3F?=
Message-ID: <3ea91112b2ae92e81302d89805ad2425@lixil.net>
X-Sender: mrjoel AT lixil DOT net
User-Agent: lixil webmail

I've been reading the mailing list updates on the new password handling 
as tipped by the message in the updated getent package a few days ago. 
First, thanks for putting this update in place, it will be a welcome 
improvement here with our group. I did notice that 1.7.30 was released 
earlier today with no announcement and apparently doesn't have the new 
functionality yet as expected though.

In my testing locally, everything seems to be going well with the 
exception of one issue that I'm seeing. Upon initial upgrade to the 
snapshot library, when opening a console I would get the "id: cannot 
find name for group ID" message as mentioned previously during testing 
[1]. This was tested with snapshots as recent as today 
[1.7.31s(0.273/5/3) 20140523 10:31:42 i686 Cygwin]. In my testing I 
didn't change anything except add the new snapshot dll. Of note is that 
I had an old /etc/passwd file with (obviously) different uid/pgid 
numbers, and the error was caused by trying to lookup the old primary 
gid as listed in the passwd entry and failing.

According to the discussion previously on the list, cygwin should report 
it as a fake group (either Unknown_Group+XXXX or Unknown+Group with gid 
-1, depending on the reference I read). In this case, the uid is 
resolved correctly (via passwd entry), however the group is not.

Joel

[1] https://cygwin.com/ml/cygwin/2014-02/msg00736.html

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