Hi Salvatore, On 2025-01-16 05:57:27 +0100, Salvatore Bonaccorso wrote: > Have you more information on the setup which triggers this? Do you > have a minimal reproducing case to show the problem?
This seems to be due to the -K option. On the Debian bookworm machine (joooj): $ mkdir real-dir $ ln -s real-dir dir On the Debian/unstable machine: $ mkdir dir $ echo foo > dir/file A first rsync from this machine succeeds: $ rsync -KRlptzv dir/file joooj: Connected to joooj (from 2a02:8428:1b1d:4d01:96a9:491d:7b48:ba31) OS: Debian GNU/Linux 12 (bookworm) [x86_64] dir/ dir/file sent 121 bytes received 38 bytes 106.00 bytes/sec total size is 4 speedup is 0.03 But a second one (with the file already created on joooj) fails: $ touch dir/file $ rsync -KRlptzv dir/file joooj: Connected to joooj (from 2a02:8428:1b1d:4d01:96a9:491d:7b48:ba31) OS: Debian GNU/Linux 12 (bookworm) [x86_64] dir/ dir/file WARNING: dir/file failed verification -- update discarded (will try again). dir/file ERROR: dir/file failed verification -- update discarded. sent 147 bytes received 89 bytes 157.33 bytes/sec total size is 4 speedup is 0.02 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.3.0] > (I might have overseen it but are you using the rsyncd on the remote > side or using a remote ssh shell for the transport? Can you paste full > command as well, if needed anonyized). No rsyncd. BTW, I have an environment variable RSYNC_RSH=/home/vinc17/scripts/ssh But I can reproduce the failure with just RSYNC_RSH=ssh -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)