delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/18/19:08:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4CE5BFF0.8050602@domain.invalid>
Date: Thu, 18 Nov 2010 17:08:16 -0700
From: jeff DOT odegard AT gmail DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Re: sshd problem with recent snapshots
References: <20101118185604 DOT GH18309 AT calimero DOT vinschen DOT de>
In-Reply-To: <20101118185604.GH18309@calimero.vinschen.de>
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

Were you able to reproduce this on Windows 7?  When will this fix be 
released in the regular distro?

Thanks,

  - Jeff

On 12:59 PM, Corinna Vinschen wrote:
> On Nov 18 17:22, Corinna Vinschen wrote:
>> On Nov 18 12:07, Corinna Vinschen wrote:
>>> On Nov 17 20:11, Christopher Faylor wrote:
>>>> On Wed, Nov 17, 2010 at 05:03:03PM -0500, Ken Brown wrote:
>>>>> On 11/17/2010 10:47 AM, Corinna Vinschen wrote:
>>>>>> Hmm.  Except, maybe, since you seem to be set up to build Cygwin from
>>>>>> CVS, could you start building the 09-12 version from CVS and then just
>>>>>> add one change from CVS at a time using
>>>>>>
>>>>>>     cvs up -D 'yyyy-mm-dd HH:MM'
>>>>>>
>>>>>> as filter until you encounter the problem?  An interesting situation to
>>>>>> test would be, if you have the state after this change:
>>>>>>
>>>>>>     2010-09-12  Corinna Vinschen<...>
>>>>>>
>>>>>>       * sec_acl.cc (acl_worker): Remove.
>>>>>>       (acl32): Implement acl_worker functionality here.
>>>>>>       (lacl32): Just return -1 with errno set to ENOSYS.
>>>>>>       (lacl): Ditto.
>>>>>>       * include/cygwin/acl.h (lacl): Remove this call.
>>>>>>
>>>>>> and then just add this single change from the first 2010-09-13 checkin:
>>>>>>
>>>>>>       * fhandler_tty.cc (fhandler_tty_slave::init): Use tty::setpgid method.
>>>>>
>>>>> It's fine through the fhandler_tty.cc change, and then the problem
>>>>> occurs as soon as I add the rest of the 2010-09-13 11:17:36 checkin.
>>>>
>>>> FWIW, I've finally unravelled the problems on my system that stopped me
>>>> from logging in via ssh (I needed to revert to a backup of my security
>>>> settings from 9/2009).  I can't even login at all using the 9/17
>>>> snapshot although I can run commands like 'ssh localhost "/bin/ls"'.
>>>>
>>>> I'm somewhat distracted right now but I'll do some more digging as time
>>>> permits.
>>>
>>> Additionally I'll set up a new XP SP3 system for testing.  Maybe I can
>>> finally reproduce this as well...
>>
>> Success.  I can reproduce the issue.  I also could reproduce it now on
>> my other XP SP3 system.  It turned out that it depends on the account
>> under which the sshd service is started.  Originally I started sshd
>> under my cyg_server account, just like on any other system.  I changed
>> that back to the default(*) SYSTEM account and, voila, suddenly I get
>> the `permission denied' problem.  I still have to debug it, though.
>
> I think I found the bug.  At least it works now for me.  Please test
> current CVS, or the next developers snapshot.
>
>
> Thanks,
> 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