Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 19 Aug 2004 13:21:23 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: reexec'ing problem solved (was Re: upgrading openssh 3.8.1p1-1 -> 3.9p1-1 breaks privilege separation)
Message-ID: <20040819112123.GB11920@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <87n00siknk.fsf@beth.swift.xxx> <20040818152348.GI10590@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040818152348.GI10590@cygbert.vinschen.de>
User-Agent: Mutt/1.4.2i

On Aug 18 17:23, Corinna Vinschen wrote:
> On Aug 18 10:30, Matt Swift wrote:
> > I've verified on two machines running XP Pro with up-to-date Cygwin
> > installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1
> > breaks sshd when running with privilege separation (the default).
> > [...]
> As a temporary measure, please add the -r option when starting sshd.
> I haven't found the exact culprit so far, but the above flag will help.
> 
> Thanks for the report.  It's embarassing that I didn't find the error
> myself since I had accidentally switched off privilege separation a few
> days ago :-(

I found the culprit.  It's a miscalculation bug in Cygwin which happens
when dup'ing sockets.  I've checked in a fix.  For the impatient, you can
try the latest developers snapshot from http://www.cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

