This is the mail archive of the
mailing list for the Cygwin project.
Re: ZoneAlarm Suite popen hang
On Mon, 9 Jan 2006, Brett Serkez wrote:
> > It could also be that the script is assuming that ssh will close
> > stdin. Try adding a redirection of stdin from /dev/null as well
> > (i.e., use
> > sh -c /usr/X11R6/bin/xauth -f /tmp/ssh-OrQEQQHWXE/xauthfile generate > 7..0.1:0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2 > /dev/null < /dev/null
> > ) and see if it helps. If it does, the script is actually buggy, and
> > needs to be fixed.
> Well, this command is actually being constructed by ssh code and then
> executed via popen. This would mean building my own ssh from scratch, I
> suppose in order to figure this out, I might need to do this anyway.
Well, if you can find where ssh is invoked, you can also give it the "-n"
parameter, which would result in equivalent functionality.
> Just wanted to be clear on one point, that is this code executes
> fine with ZoneAlarm Pro or no ZoneAlarm, it only starts failing
> with ZoneAlarm Suite is installed which I'm thinking interfers with
> the pipe created by popen.
> I'll have to build ssh to see if this will clear the problem.
I doubt ZoneAlarm would affect pipes. It might very possibly affect
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html