Bug 19873 - rexec broken on RH7.0
Summary: rexec broken on RH7.0
Keywords:
Status: CLOSED DUPLICATE of bug 18886
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.0
Hardware: noarch
OS: Linux
high
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-26 18:12 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-26 18:12:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-10-26 18:12:27 UTC
Rexec client does not work in RH 7.0.  I localized the problem to the call
to getservbyname in the rexec source.  This call returns the wrong port
number for establishing the remote connection.  The port number returned by
the following code fragment is port 2 instead of port 512 as listed in
/etc/services

	  service = getservbyname("exec","tcp");
	  port_exec = service->s_port;

as revealed by gdb "print port_exec" after breaking on the appropriate line
in rexec.c (132). Setting the value of port_exec to 512 corrects the
problem and allows the rexec command to function correctly and terminate
normally.

Comment 1 Jakub Jelinek 2000-10-27 16:08:18 UTC

*** This bug has been marked as a duplicate of 18886 ***


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