Package: rsnapshot
Version: 1.3.1-1
Severity: minor
Tags: upstream
Hi,
The description of "rsync_numtries" setting in rsnapshot.conf seems to
be incorrect:
# Number of rsync re-tries. If you experience any network problems or
# network card issues that tend to cause ssh to crap-out with
# "Corrupted MAC on input" errors, for example, set this to a non-zero
# value to have the rsync operation re-tried
#
#rsync_numtries 0
According to rsnapshot source code, this value correspond to the total
number of tries, including the first one.
See /usr/bin/rsnapshot, line #170:
# set default for number of tries
my $rsync_numtries = 1; # by default, try once
... and line #3695:
my $tryCount = 0;
$result = 1;
if (0 == $test) {
while ($tryCount < $rsync_numtries && $result !=0) {
# join is Michael Ashley's fix for some filter/space problems
$result = system(join(' ', @cmd_stack));
$tryCount += 1;
}
...
}
As a consequence, this setting never should have value < 1.
Thank you,
-- System Information:
Debian Release: 6.0.7
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rsnapshot depends on:
ii liblchown-perl 1.01-1 Perl interface to the lchown() sys
ii logrotate 3.7.8-6 Log rotation utility
ii perl 5.10.1-17squeeze6 Larry Wall's Practical Extraction
ii rsync 3.0.7-2 fast remote file copy program (lik
Versions of packages rsnapshot recommends:
ii openssh-client 1:5.5p1-6+squeeze3 secure shell (SSH) client, for sec
rsnapshot suggests no packages.
-- no debconf information
--
Jonathan Leroy
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]