Description of problem: rsh didn't close connection from remote server, and process still exist in process table. # date Mon Sep 29 14:57:59 TMT 2008 # ps -o pid,start,ni,pri,psr,pcpu,stat,wchan:14,comm -p 14979 PID STARTED NI PRI PSR %CPU STAT WCHAN COMMAND 14979 Sep 04 0 23 0 0.0 S - rsh # lsof -n -p 14979 | grep TCP rsh 14979 root 3u IPv4 1962395 TCP 10.0.10.1:1005->172.20.0.6:shell (FIN_WAIT2) rsh 14979 root 5u IPv4 1962397 TCP 10.0.10.1:1004->172.20.0.6:1023 (CLOSE_WAIT) Version-Release number of selected component (if applicable): kernel-smp-2.6.9-67.EL rsh-0.17-25.4 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I'm not able to reproduce this problem. Could you please specify how did you reproduced it? I tried: - shell & login services enabled (in /etc/xinetd.d/{rsh,rlogin}) - /etc/securetty and ~/.rhosts configured properly - run "rsh <hostname> ls" - run "rsh <hostname>" After that I'm not able to find any rsh process in process table.
It's my fault. Please close this bug.