delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/18/09:35:51

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=a12WIB8NeHNV1roF
69mEaenQ38G9GiPjkxX1KcWpolG93U1KQ6sUu4uWA9B/DVVPOxdBkSfr4HADgVUV
cAmYmS/KYzA3gB9NB0r8ky4GwVox6bE0YPtlC47yyZhVNI6OZn2Hkll1xpBhouWU
vhuMl28u+V8363Twqrx0WefUV3A=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=8dRmYten2qpGwGsD+AjsqL
XtX3k=; b=lfltn7GvokgojmupGj6qEjwv/Nj5mB1nDEiFBUFhb0X4piGSxPVk1Y
CNHpUIidGbB/97oe8hMOqIsH65IK/lzpbcRLBec+YiZ5f2MLiz/3Mx74qQSczsQv
/VTXMYqrVe7XkH7udEkQ4fE3777GDx3C5/QoArTiK/qKuW92tge0Y=
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=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 18 Feb 2015 17:22:03 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1865196223.20150218172203@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: ssh-host-config script sends /etc/passwd thru awk
In-Reply-To: <20150218140028.GS8493@calimero.vinschen.de>
References: <4C148215-468D-469D-8060-B2010DF5E9A9 AT etr-usa DOT com> <20150217230230 DOT GH8493 AT calimero DOT vinschen DOT de> <62DA4A6B-8BA1-4676-B88F-42F6A3707AAD AT etr-usa DOT com> <20150218100809 DOT GK8493 AT calimero DOT vinschen DOT de> <94520364 DOT 20150218150551 AT yandex DOT ru> <20150218130219 DOT GP8493 AT calimero DOT vinschen DOT de> <1709402921 DOT 20150218163549 AT yandex DOT ru> <20150218140028 DOT GS8493 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

> On Feb 18 16:35, Andrey Repin wrote:
>> Greetings, Corinna Vinschen!
>> >> > It's a bit confusing to talk about the Cygwin version when this is
>> >> > only about openssh and the csih package.  I'm really busy with other
>> >> > stuff right now.  I quickly scanned the ssh-*-config scripts again
>> >> > and they never write a passwd entry so, if anything, it's a problem
>> >> > in the csih helper script.  Does anybody want to inspect
>> >> > /usr/share/csih/cygwin-service-installation-helper.sh for this?
>> >> 
>> >> I'm on it, and the only place, where awk is ever called so far in relation to
>> >> these files is csih_use_file_etc
>> >> 
>> >> So far it seems the user need to upgrade or reinstall his openssh package.
>> >> I'm off to try and set openssh on my newest VM, that have Cygwin first
>> >> installed after 1.7.34 release.
>> >> I'll be back.
>> 
>> > Looking forward to it.
>> 
>> You were right, the offender is the ssh-user-config, the check_user_homedir()
>> function.

> ...which is using `getent passwd ...', not checking /etc/passwd directly.

>> The openssh is the 64-bit version, as in the stackexchange user's case.
>> The issue is interesting, though. When I first installed the openssh, it
>> offered me "prev" version of the package, even though I was installing from
>> the net. Re-running the installer picked the "current" version.
>> Setup.exe glitch?

> No idea.  Mirror problem?  I never encountered the problem myself.

Given the date of last openssh release, not possible.
But I will try scraping current installation and retry anyway.
Thankfully I have fast internet connection. >.> Or two...

Ok, got the results. The first click on the twister selects first available
version of the package. Which is not necessarily "current".
Can easily be reproduced with cygwin-devel package, which have both "prev" and
"test" versions, and is not installed with base install.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 18.02.2015, <17:09>

Sorry for my terrible english...


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