Bug 19873 - rexec broken on RH7.0
Summary: rexec broken on RH7.0
Status: CLOSED DUPLICATE of bug 18886
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc   
(Show other bugs)
Version: 7.0
Hardware: noarch
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
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:
Story Points: ---
Clone Of:
Last Closed: 2000-10-26 18:12:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

	  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

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.