Package: rsync
Version: 3.2.7-1+deb12u1
Severity: serious
Justification: renders package unusable in common use cases (backup server)
Control: notfound -1 3.2.7-1
Control: found -1 3.2.7-1+deb12u2
Control: notfound -1 3.3.0+ds1-2
Control: found -1 3.3.0+ds1-3
Control: found -1 3.4.1+ds1-3
Control: affects dirvish

Hi,

I ran into this problem after upgrading a system from Debian 11 to
Debian 12, and trying to back it up using dirvish (that uses rsync with
--link-dest).

A minimal reproducer is attached, to be executed with:
# rsync -vlr --link-dest=/path-to/link-dest/ root@localhost:/path-to/source/ 
/path-to/dest/

This fails with:
---------------------------------------->8
receiving incremental file list
created directory /root/rsync/dest
libcrypt-dev/
libcrypt-dev/TODO.md.gz
WARNING: libcrypt-dev/TODO.md.gz failed verification -- update discarded (will 
try again).
libcrypt-dev/copyright
WARNING: libcrypt-dev/copyright failed verification -- update discarded (will 
try again).
libcrypt-dev/other_file_in_both
libcrypt-dev/other_file_in_source
libcrypt-dev/TODO.md.gz
ERROR: libcrypt-dev/TODO.md.gz failed verification -- update discarded.
libcrypt-dev/copyright
ERROR: libcrypt-dev/copyright failed verification -- update discarded.

sent 499 bytes  received 7,860 bytes  16,718.00 bytes/sec
total size is 8,292  speedup is 0.99
rsync error: some files/attrs were not transferred (see previous errors) (code 
23) at main.c(1852) [generator=3.4.0]
---------------------------------------->8

I don't fully understand the issue (why does it affect TODO.md.gz and
copyright, but not 'other_file_in_both'?)

I bisected using snapshot.d.o. The problem was introduced between 3.2.7-1 and 
3.2.7-1+deb12u1, or between 3.3.0+ds1-2 and 3.3.0+ds1-3. It affects the
version in testing.

I wondered about severity:important vs severity:serious, but decided for
serious since I did not understand the impact of this issue (due to not
understanding the issue).

Workarounds include hacking the 'link-dest' dir to remove the
problematic files.

Lucas


-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 6.12.22-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rsync depends on:
ii  init-system-helpers        1.68
ii  libacl1                    2.3.2-2+b1
ii  libc6                      2.41-7
ii  liblz4-1                   1.10.0-4
ii  libpopt0                   1.19+dfsg-2
ii  libssl3t64 [libssl3]       3.5.0-1
ii  libxxhash0                 0.8.3-2
ii  libzstd1                   1.5.7+dfsg-1
ii  lsb-base                   11.6
ii  sysvinit-utils [lsb-base]  3.14-4
ii  zlib1g                     1:1.3.dfsg+really1.3.1-1+b1

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client       1:10.0p1-5
ii  openssh-server       1:10.0p1-5
ii  python3              3.13.3-1
pn  python3-braceexpand  <none>

-- no debconf information
Thank you for using reportbug

Attachment: data.tgz
Description: application/gtar-compressed

Reply via email to