Bug 139944
Summary: | scp command sometimes returns wrong exit code | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Aleksandar Milivojevic <alex> | ||||||
Component: | openssh | Assignee: | Tomas Mraz <tmraz> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-04-06 15:34:27 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: | |||||||||
Attachments: |
|
Description
Aleksandar Milivojevic
2004-11-18 21:09:43 UTC
Can you try openssh-4.0p1 from FC development? However you would need to rebuild it from .src.rpm if you don't want to upgrade other packages to FC development. Also could you try to post a log which is produced when running scp to the Solaris box with -v option. I've upgraded my machine to CentOS 4 recently (distro built from RHEL 4 SRPMs, basically a clone). Bug was still present (openssh-3.9p1-8.RHEL4.1). Then I rebuilt openssh package from FC development tree and installed it (openssh-4.0p1-2) and got the same error. This menas that bug is present in: - FC3 - FC devel - RHEL4 I will include scp -v from both openssh-3.9p1-8.RHEL4.1 and openssh-4.0p1-2 as attachments. Diff on the files doesn't show any differences (other than version numbers, and some other unimportant details). Created attachment 112757 [details]
scp -v on CentOS4/RHEL4
Created attachment 112758 [details]
scp -v of FC-devel built on CentOS4/RHEL4
The problem is that the local scp only executes scp on the remote machine through the ssh connection. The remote scp returns -1 and this exit status (!= 0) is translated in the local scp as 1. The problem lies on the Solaris side not on the FC side. OK, how do you than explain than openssh as distributed with Red Hat 7.3 works just fine? Plus, Solaris to Solaris also works fine. And more or less anything-else (other than openssh 3.9+) to Solaris works fine. IMO, something on the FC side is triggering Solaris side to return -1. I'd suppose the problem could lie in the versions of the openssh on the systems. You can try to report that upstream to OpenSSH bugzilla http://bugzilla.mindrot.org/ |