Red Hat Bugzilla – Bug 118630
rexec fails with "Invalid Argument"
Last modified: 2007-11-30 17:07:00 EST
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):
Steps to Reproduce:
1.Add host to .rhosts
2.Add rexec to /etc/securetty
user1@host1> rexec host1 ls
rexec: Invalid argument
Normal rexec results.
Similar to bug 100976 on RHL
Other interesting info, the -a option appears to "fix" the problem...
or substituting rsh seems to work too.
As a workaround:
LD_ASSUME_KERNEL=2.4.19 rexec <arguments>
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.
Fixed in devel branch (FC4) and will fixed in RHE-3-U5.
Fixed in RHEL-4 too.
*** Bug 142065 has been marked as a duplicate of this bug. ***
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.