Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 118630

Summary: rexec fails with "Invalid Argument"
Product: Red Hat Enterprise Linux 3 Reporter: Chris Van Hoof <vanhoof>
Component: rshAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: stephen, tmraz
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: 2005-05-18 13:03:12 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:
Bug Depends On:    
Bug Blocks: 132991    

Description Chris Van Hoof 2004-03-18 14:34:15 UTC
Description of problem:
rexec fails on RHEL3 when connecting to any other distro... ( rhl
tested ) with "invalid argument"

Version-Release number of selected component (if applicable):
ALL

How reproducible:
Everytime

Steps to Reproduce:
1.Add host to .rhosts 
2.Add rexec to /etc/securetty
3.Execute rexec

Actual results:
user1@host1> rexec host1 ls 
Password:  
rexec: Invalid argument 

Expected results:
Normal rexec results.

Additional info:

Similar to bug 100976 on RHL

Comment 1 James McDermott 2004-04-07 16:44:40 UTC
Other interesting info, the -a option appears to "fix" the problem...
or substituting rsh seems to work too.

Comment 3 Pancrazio `ezio' de Mauro 2004-06-02 08:43:35 UTC
As a workaround:

LD_ASSUME_KERNEL=2.4.19 rexec <arguments>

Comment 4 Tomas Mraz 2004-11-16 13:22:56 UTC
I see this with FC 3 as well. The problem is that the rexec calls
sigaction on every signal < NSIG. But one of the calls will fail.
The easiest fix would be to simply ignore failed sigaction call.


Comment 5 Karel Zak 2004-11-17 17:19:57 UTC
Fixed in devel branch (FC4) and will fixed in RHE-3-U5.

Comment 6 Karel Zak 2004-11-23 07:38:25 UTC
Fixed in RHEL-4 too.

Comment 7 Karel Zak 2004-12-07 08:15:10 UTC
*** Bug 142065 has been marked as a duplicate of this bug. ***

Comment 8 Tim Powers 2005-05-18 13:03:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-074.html