Bug 2909 - in.rexecd hangs
in.rexecd hangs
Status: CLOSED DUPLICATE of bug 2318
Product: Red Hat Linux
Classification: Retired
Component: rsh (Show other bugs)
6.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-18 10:44 EDT by lionel.cons
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-18 12:31:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description lionel.cons 1999-05-18 10:44:46 EDT
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 12:26:59 EDT
As a workaround, add -a to the rexec command line.
Comment 2 Jeff Johnson 1999-05-18 12:27:59 EDT
As a workaround, add -a to the rexec command line.
Comment 3 Jeff Johnson 1999-05-18 12:31:59 EDT
*** This bug has been marked as a duplicate of 2318 ***

Note You need to log in before you can comment on or make changes to this bug.