Package: rsync
Version: 2.6.9-2etch1
Severity: critical
Justification: causes serious data loss


Hi,

I did notice that rsync fails to transfer some files (eg:
/var/log/ntpstats/*) and dies on files in that directory on any
non-initial run.

On the first run, it all goes well.

On the subsequent runs:

donald:~# rsync -aAzHRxby -vP --exclude='var/log/ntpstats' --numeric-ids
--suffix='' --backup-dir=/backup/local/gloups.lncsa.com/2008-04-YY
'gloups.lncsa.com:/{etc,var/log}'
/backup/local/gloups.lncsa.com/current

receiving file list ... 
14452 files to consider
...
...
var/log/ntpstats/
var/log/ntpstats/loopstats
         884 100%    1.59kB/s    0:00:00 (xfer#11, to-check=182/14473)
var/log/ntpstats/peerstats
        8306 100%   14.97kB/s    0:00:00 (xfer#12, to-check=172/14473)
zsh: segmentation fault  rsync -aAzHRxby -vP --numeric-ids --suffix=''   
rsync: connection unexpectedly closed (120216 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) 
[sender=2.6.9]
rsync: connection unexpectedly closed (447235 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) 
[receiver=2.6.9]

If i now use an exclude (--exclude='var/log/ntpstats'), it finishes
without any problem.

I did use critical severity because, if you use rsync to make backups...
it can be messy to realize your backups are just useless.

Thanks

Laurent





-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.23.12-dl380-2g2g-20080105
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages rsync depends on:
ii  libacl1                2.2.41-1          Access control list shared library
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libpopt0               1.10-3            lib for parsing cmdline parameters
ii  lsb-base               3.1-22            Linux Standard Base 3.1 init scrip

rsync recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to