sshd problem with recent snapshots

Ken Brown
Thu Nov 18 21:02:00 GMT 2010

On 11/18/2010 1:56 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<...>
>>>>>>       * (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_slave::init): Use tty::setpgid method.
>>>>> It's fine through the 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.

It works for me too.  Thanks.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list