X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4CE59463.7050201@cornell.edu> Date: Thu, 18 Nov 2010 16:02:27 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sshd problem with recent snapshots References: <4CE1972C DOT 4080809 AT cornell DOT edu> <20101116135814 DOT GC26851 AT calimero DOT vinschen DOT de> <4CE29643 DOT 2030005 AT cornell DOT edu> <20101116145906 DOT GD26851 AT calimero DOT vinschen DOT de> <4CE3ED2A DOT 9040308 AT cornell DOT edu> <20101117154736 DOT GC11144 AT calimero DOT vinschen DOT de> <4CE45117 DOT 4040200 AT cornell DOT edu> <20101118011127 DOT GA13375 AT ednor DOT casa DOT cgf DOT cx> <20101118110733 DOT GB26196 AT calimero DOT vinschen DOT de> <20101118162218 DOT GF18309 AT calimero DOT vinschen DOT de> <20101118185604 DOT GH18309 AT calimero DOT vinschen DOT de> In-Reply-To: <20101118185604.GH18309@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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<...> >>>>>> >>>>>> * 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. It works for me too. Thanks. Ken -- 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