Bug 164106 - rsync returns error message when "--cvs-exclude" option is used
rsync returns error message when "--cvs-exclude" option is used
Product: Fedora
Classification: Fedora
Component: rsync (Show other bugs)
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Jay Fenlason
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-07-24 19:50 EDT by Arthur Maciel
Modified: 2014-08-31 19:27 EDT (History)
1 user (show)

See Also:
Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-22 07:31:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Arthur Maciel 2005-07-24 19:50:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050115

Description of problem:
I have routinely used "rsync" on Red Hat, FC3 and Sci Linux. 
Now, on Fedora core-4 (FC4), using same shell script as usual,
I cannot make rsync work when the option "--cvs-exclude" is 
present (all other options are OK). Here is the message I get;
filter rules are too modern for remote rsync.
rsync error: syntax or usage error (code 1) at exclude.c(1119)
Removing "--cvs-exclude" from options list recovers normal

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

How reproducible:

Steps to Reproduce:
1. To update image of local work area on a remote machine,
2.  I use the following shell script;

## USAGE:  ./toFNAL        -- for a dry run (-n)
##         ./toFNAL ok     -- for the real export
## Setup local (source) and remote (target) directories


echo "rsync driver dir = " $this_dir
echo "local (from) dir = " $here_dir
echo "archive (to) dir = " $fnal_dir

## Make default a dry run (-n)

if [ x$1 = "xok" ];
  then echo unsetting OPTION
  unset OPTION
## Now, run rsync

rsync $OPTION \
      --archive --progress --compress --update \
      --safe-links       --rsh="ssh -l maciel" \
      --cvs-exclude --exclude-from=$this_dir/rsync.ignore \
        $here_dir $fnal_dir | grep -v "ignoring unsafe" | egrep -v "/$"


Actual Results:  FC4 output is;

filter rules are too modern for remote rsync.
rsync error: syntax or usage error (code 1) at exclude.c(1119)

Expected Results:  The very same script under FC3, RedHat(7 or 9) or Sci.Linux will simply
list all files that have been updated.

Removing "--cvs-exclude" from options list in the shell script recovers normal

Additional info:
Comment 1 Wayne Davison 2005-08-15 18:07:48 EDT
This bug was fixed in the rsync 2.6.5 codebase.
Comment 2 Christian Iseli 2007-01-22 05:48:02 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?


Note You need to log in before you can comment on or make changes to this bug.