Description of problem: when copying a file to fifo over scp, remote side of scp sents back to the client error telling "truncate: Invalid argument" Version-Release number of selected component (if applicable): RHEL5.9 # rpm -qa|fgrep openssh openssh-4.3p2-82.el5 openssh-clients-4.3p2-82.el5 openssh-server-4.3p2-82.el5 How reproducible: always Steps to Reproduce: 1. create a fifo on the remote side: $ mkfifo testfifo 2. read from the fifo: $ cat testfifo 3. send some file to remote fifo: $ scp ~/tmp/input user@host:testfifo Actual results: $ scp ~/tmp/input user@host:testfifo input 100% 189 0.2KB/s 00:00 scp: testfifo: truncate: Invalid argument $ Expected results: $ scp ~/tmp/input user@host:testfifo input 100% 189 0.2KB/s 00:00 $ Additional info: bug is fixed in an upstream version of openssh 4.7 attached patch fixes the problem and is the same as an upstream fix
Created attachment 815425 [details] fixes the problem, it is an upstream fix
This Bugzilla has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed. If this bug is critical to production systems, please contact your Red Hat support representative and provide sufficient business justification. Issue is already fixed in RHEL-6