Package: rsync
Version: 3.1.2-1+deb9u1
Severity: normal

Hello,

following initial steps:

mkdir dir1
mkdir dir2
mkdir dir3
echo "helloworld" >dir1/file1
rsync -axHAXESW --delete dir1/ dir2/

leave me with 1 file in dir1 and 1 file in dir2.

ln -P dir1/file1 dir1/file2

creates a second file/hardlink in dir1.

Finally. following command:

rsync -axHAXESW --delete --compare-dest=../dir2/ dir1/ dir3/

It doesn't terminate. If aborted with CtrlC, dir3 has both file1 and file2.

What it should do is to not hang, and probably probably create dir3/file2 only 
(?)






-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-7-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsync depends on:
ii  base-files           9.9+deb9u5
ii  init-system-helpers  1.48
ii  libacl1              2.2.52-3+b1
ii  libattr1             1:2.4.47-2+b2
ii  libc6                2.24-11+deb9u3
ii  libpopt0             1.16-10+b2
ii  lsb-base             9.20161125

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client  1:7.4p1-10+deb9u3
pn  openssh-server  <none>

-- no debconf information

Reply via email to