Package: rdiff-backup
Version: 2.2.2-1
Severity: normal
X-Debbugs-Cc: mister...@web.de

Dear Maintainer,

when using rdiff-backup's compare action it reports the following error
message when the source directory has newer or changed files compared to
the backup dir: "ERROR: Action compare failed on step run"

This behaviour can be easily reproduced by doing:

$ mkdir source target
$ cd source/
$ for file in file1 file2 file3; do head -c 1K /dev/urandom > $file; done
$ cd ..
$ rdiff-backup backup source/ target/

Now if the files have not changed it reports:

$ rdiff-backup compare source/ target/
NOTE: No changes found. Directory matches archive data.

However if one changes the modification time of one file

$ touch source/file1
$ rdiff-backup compare source/ target/
changed: file1
ERROR: Action compare failed on step run



I assume that this behaviour is a bug, either the error is reported
mistakenly or the new version of rdiff-backup does not only list changed
files on the compare action but tries to do something afterwards which
fails.

Thanks for maintaining rdiff-backup

Marcel

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.12-1-siduction-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rdiff-backup depends on:
ii  libc6               2.36-9
ii  librsync2           2.3.2-1+b1
ii  python3             3.11.2-1+b1
ii  python3-setuptools  66.1.1-1
ii  python3-yaml        6.0-3+b2

Versions of packages rdiff-backup recommends:
ii  python3-pylibacl                 0.6.0-3+b1
ii  python3-xattr [python3-pyxattr]  0.10.1-1

rdiff-backup suggests no packages.

-- no debconf information

Reply via email to