rsh with command hangs, rlogin works

Lars Björnfot lars@nuclear-diagnostics.com
Fri Jun 2 22:29:00 GMT 2006


>  $ rsh localhost ls 	HANGS for any command

Still unsolved but: I noted a SIGSEGV message
in the syslog which explains why it hangs.

/var/log/messages:
Jun  2 23:39:12 baloo kernel: in.rshd[3308]: segfault at 00000003 rip
0022E4E5 rsp 0022E454 error 4

I downloaded the inetutil sources, added some syslog lines
and pinpointed the problem to the rresvport() call:

rshd.c:
			s = rresvport(&lport);

rshd crashes on the first attempt, when lport=1023.

Regards,
Lars








--
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/



More information about the Cygwin mailing list