Package: rsync
Version: 3.1.2-1
Severity: normal

Hi,

I've created a batch of updates using --only-write-batch and -z, then
started applying them, which I had to interrupt and subsequently tried to
restart. This should be fine, as rsync can detect that batched updates are
already applied, and skips these.

However, it seems the seek offset is incorrectly applied then, leading to a
decompression error as the zlib stream goes out of sync:

./backup.batch.sh
receiving incremental file list
etc/
(Skipping batched update for "etc/group")
              0   0%    0.00kB/s    0:00:00
inflate returned -3 (3 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(557) 
[receiver=3.1.2]
rsync: connection unexpectedly closed (59914 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(235) 
[generator=3.1.2]

   Simon

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (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.8
ii  init-system-helpers  1.47
ii  libacl1              2.2.52-3+b1
ii  libattr1             1:2.4.47-2+b2
ii  libc6                2.24-9
ii  libpopt0             1.16-10
ii  lsb-base             9.20161125

rsync recommends no packages.

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

-- no debconf information

Reply via email to