Package: rsync
Version: 3.2.3-8
Severity: important
X-Debbugs-Cc: stedo...@stedolan.net

Dear Maintainer,

When transferring files from a machine with rsync-3.2.3-4 to a machine with
rsync-3.2.3-8, several transfers fail with:

    ERROR: $filename failed verification -- update discarded.

In a transfer of a large directory, approximately 20% of files failed to copy.

Which files succeed and which files fail seems to be reproducible between runs,
so I do not suspect hardware issues. I ran the command on the machine with -4,
and it failed whether sending or receiving. Below is the --debug=all output
for a failed (receiving) run of a single small file:

    (Client) Protocol versions: remote=31, negotiated=31
    Client negotiated checksum: xxh128
    get_local_name count=1 /tmp/
    [Receiver] change_dir(/tmp)
    generator starting pid=19947
    delta-transmission enabled
    recv_generator(numbers.mli,0)
    generate_files phase=1
    recv_files(1) starting
    recv_files(numbers.mli)
    [receiver] send_msg_int(9, 0)
    recv_files phase=1
    recv_generator(numbers.mli,0)
    generate_files phase=2
    recv_files(numbers.mli)
    ERROR: numbers.mli failed verification -- update discarded.
    recv_files phase=2
    recv_files finished
    [receiver] send_msg(10, 8)
    generate_files phase=3
    generate_files finished
    client_run2 waiting on 19948
    rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1816) [generator=3.2.3]
    [generator] _exit_cleanup(code=23, file=main.c, line=1816): about to call 
exit(23)

The file in question is available at:

    
https://gist.githubusercontent.com/stedolan/167ecb4b7e4ca7c8efb815c20173f45b/raw/a2d17391fe394ae6f23b7879cfb845ee6d152c2e/numbers.mli

The problem went away when both sides were upgraded to rsync-3.2.3-8, so perhaps
some protocol incompatibility was introduced between these versions without
changing the protocol version number.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsync depends on:
ii  init-system-helpers  1.60
ii  libacl1              2.2.53-10
ii  libc6                2.33-2
ii  liblz4-1             1.9.3-1
ii  libpopt0             1.16-14
ii  libssl1.1            1.1.1i-3
ii  libxxhash0           0.7.3-2
ii  libzstd1             1.4.8+dfsg-1
ii  lsb-base             11.1.0
ii  zlib1g               1:1.2.11.dfsg-2

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client  1:8.4p1-3
ii  openssh-server  1:8.4p1-3
ii  python3         3.9.1-1

-- no debconf information

Reply via email to