3.2.6: ERROR: rejecting unrequested file-list

2022-09-12 Thread Carlos Carvalho via rsync
I've just upgraded the Debian package to 3.2.6 and now I'm getting many cases
of this error. I see that there have been improvements in the check but it
seems they're either not enough or incompatible with 3.1.[23].

This is always with --files-from, used for mirroring. We're a large free
software mirror and distribute tens of repositories. I had to revert to 3.2.5
for now.

Is there anything I can do? I can try patches.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: 3.2.6: ERROR: rejecting unrequested file-list

2022-09-13 Thread Carlos Carvalho via rsync
Wayne Davison (wa...@opencoder.net) wrote on Tue, Sep 13, 2022 at 02:54:37AM 
-03:
> It helps to have some kind of a reproducer.  Also, keep in mind there are 2
> kinds of rejections: unrequested args and unfiltered files.  The latter
> should have a big improvement in the latest git version. If you want some
> debug info on arg rejection, try adding `--debug=filter5` and see what
> auto-created filter rules get added to approve incoming file-list items.
 
The debug option didn't change the output at all.
 
It seems the receiver is rejecting the inclusion of a parent directory in the
update list. Here are 2 samples:
 
ERROR: rejecting unrequested file-list name: 
distrib/cauldron/SRPMS/core/release/media_info
rsync error: protocol incompatibility (code 2) at flist.c(998) [Receiver=3.2.6]
 
ERROR: rejecting unrequested file-list name: distribution/leap
rsync error: protocol incompatibility (code 2) at flist.c(998) [Receiver=3.2.6]
 
The first is from the mageia repository, the second from the opensuse one. The
names above are directories where files inside them appear in the files-from
list. The mentioned directories however are not in the files-from list
because there was no change to the directories themselves.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html