Bug 164106 - rsync returns error message when "--cvs-exclude" option is used
rsync returns error message when "--cvs-exclude" option is used
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: rsync (Show other bugs)
4
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Jay Fenlason
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2007-01-22 07:31:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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
behavior...

Version-Release number of selected component (if applicable):
rsync-2.5.7-5.3E

How reproducible:
Always

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

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

this_dir=`pwd`
here_dir="/work/maciel/bconf"
fnal_dir="maciel@myMachine.fnal.gov:/work/maciel"

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

##-----------------------------------------------------------------------
## Make default a dry run (-n)

OPTION=-n
if [ x$1 = "xok" ];
  then echo unsetting OPTION
  unset OPTION
fi
echo \$OPTION=$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
behavior...

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 ?

Thanks.

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