Bug 2909

Summary: in.rexecd hangs
Product: [Retired] Red Hat Linux Reporter: lionel.cons
Component: rshAssignee: Jay Turner <jturner>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-18 16:31:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lionel.cons 1999-05-18 14:44:46 UTC
It seems that in.rexecd is buggy and hangs, it can
be reproduced on a base Red Hat 6.0 box with a simple
	rexec -l user -p pass localhost date

Doing an strace on it, we see that the rexec client sends
the port number as the first "argument":
   write(3, "1716\0", 5)                   = 5
and waits for the socket to be created
   accept(4,  <unfinished ...>
while the rexec daemon reads the second argument (user)
*before* creating the socket...

Comment 1 Jeff Johnson 1999-05-18 16:26:59 UTC
As a workaround, add -a to the rexec command line.

Comment 2 Jeff Johnson 1999-05-18 16:27:59 UTC
As a workaround, add -a to the rexec command line.

Comment 3 Jeff Johnson 1999-05-18 16:31:59 UTC
*** This bug has been marked as a duplicate of 2318 ***