Red Hat Bugzilla – Bug 475950
--file HOSTNAME:F doesn't work because rsh is not required when tar is built
Last modified: 2008-12-11 07:35:12 EST
Description of problem:
Remote archiving with --file HOSTNAME:F option doesn't work.
The function needs the path for rsh command.
The configure script for tar detects the path.
However, the spec file of tar doesn't require rsh package
in BuildRequire field.
Version-Release number of selected component (if applicable):
1.20-5.fc11 raw hide. But tar shipped with EL4 has the same problem.
$ tar -c -f localhost:/tmp/x.tar /boot
tar: localhost\:/tmp/x.tar: Cannot open: Input/output error
tar: Error is not recoverable: exiting now
Steps to Reproduce:
1. Just invoke tar with --file HOSTNAME:F argument
Reporting an error.
The archive is created at the remote host.
See the patch.
Created attachment 326595 [details]
A patch, for spec file of tar, fixing the issue.
Thanks for info and patch (although patch not needed in such cases). Fixed in Rawhide, built as tar-1.20-6.fc11, closing RAWHIDE, will clone bugzilla for RHEL to fix it at least in EL5.