X-Spam-Check-By: sourceware.org Message-ID: X-Sender: karlm30 AT hotmail DOT com In-Reply-To: <20060105163113.GF32362@trixie.casa.cgf.cx> From: "Karl M" To: cygwin AT cygwin DOT com Subject: Re: services not starting with 20060104 snapshot Date: Thu, 05 Jan 2006 11:57:12 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Note-from-DJ: This may be spam Hi All... >From: Christopher Faylor Subject: Re: services not starting with 20060104 >snapshot >Date: Thu, 5 Jan 2006 11:31:13 -0500 > >On Thu, Jan 05, 2006 at 10:28:23AM -0500, Igor Peshansky wrote: > >On Thu, 5 Jan 2006, Christopher Faylor wrote: > > > >> On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor Peshansky wrote: > >> >On Thu, 5 Jan 2006, Igor Peshansky wrote: > >> > > >> >> On Thu, 5 Jan 2006, Igor Peshansky wrote: > >> >> > >> >> > On Thu, 5 Jan 2006, Christopher Faylor wrote: > >> >> > > >> >> > > >> Also, what version of XP are you running? Pro? Is it >up-to-date > >> >> > > >> with all service packs and updates? > >> >> > > > > >> >> > > >I'm running XP Pro SP1, with most updates applied (except >KB835409 > >> >> > > >and KB910437, which are pending). > >> >> > > > >> >> > > Maybe that is a clue, as Yitzchak suggested. I'd missed that in >the > >> >> > > cygcheck output. I'm running SP2 and I believe Corinna is also. > >> >> > > >> >> > It does look like a problem with SP1 (and Karl's message supports >this > >> >> > as well). Unfortunately, I'm not at liberty to install SP2 on >this > >> >> > machine (due to licensing restrictions). So I'll have to dig >until a > >> >> > solution is found. > >> >> > > >> >> > Interestingly enough, the ssh daemon works just fine with the >20051003 > >> >> > snapshot. I'll try to track all the changes to fhandler_console > >> >> > between then and now to see which one tickled this problem. > >> >> > > >> >> > Thanks for helping me get to the bottom of this. > >> >> > >> >> Ok, I've tracked it down to these two changes: > >> >> and > >> >> . Commenting >out > >> >> the if test in the beginning of set_console_state_for_spawn() allows >the > >> >> sshd server to start successfully *and* show the output of a >command. > >> >> > >> >> Is real_path.iscygexec() the right test for noncygwin_process? It >looks > >> >> reversed... > >> > > >> >And indeed it was. Negating that test brought back the output of >commands > >> >invoked via ssh. I'll submit a patch to cygwin-patches in a bit. >Whew! > >> > >> You're asking if !iscygexec is the right way to detect a > >> "noncygwin_process". > >> Yes. > > > >No, I was actually asking whether iscygexec() was the right way to detect > >a "noncygwin_process", since that's exactly the test used in spawn_guts. > >You just confirmed that it isn't (and that its inverse, !iscygexec(), >is). > >In the future I'll try to limit my stupid remarks to one mailing list. > >Your interpretation of the problem was correct (although there still may be >a lurking problem with non-cygwin processes) and my remarks about it should >be disregarded because I was confused. > >(I've got a nice headache going on which explains the confusion but I >should be experienced enough by now to know not to trust my judgement >when I have to squint at the screen.) > >Please give yourself a gold star for tracking this down, Igor. Maybe now >I can sleep tonight. > I tried the latest snapshot cygwin1-200601051745.dll.bz2 on my SP1 box and I still can't start services; went back to cygwin1-20060103.dll.bz2. Thanks, ...Karl -- 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/