Package: rsnapshot
Version: 1.3.1-4
Severity: normal

I use rsnapshot with a custom setting for ssh_args in order to improve speed as follows (rsnapshot.conf):
backup  root@10.38.38.5:/       xen/            ssh_args=-c arcfour

This has worked fine for years. On Aug. 16 I updated
rsnapshot:amd64 1.3.1-3 -> 1.3.1-4

On aug. 17, the daily backup failed with:

rsync: Failed to exec /usr/bin/ssh -c arcfour: No such file or directory (2) rsync error: error in IPC code (code 14) at pipe.c(84) [Receiver=3.0.9]

rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in IPC code (code 14) at io.c(605) [Receiver=3.0.9]
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot daily
----------------------------------------------------------------------------

On investigation, it looks like the way arguments are passed to the system() call were changed by 10_space_destdir.diff:

--- a/rsnapshot-program.pl      2009/03/09 05:38:23     1.413
+++ b/rsnapshot-program.pl      2009/03/27 21:54:02     1.414
@@ -3692,8 +3692,7 @@
        $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));
+                       $result = system(@cmd_stack);
                        $tryCount += 1;
                }

@@ -4728,8 +4728,7 @@
        print_cmd(@cmd_stack);
        
        if (0 == $test) {
- # join is Michael Ashley's fix for some filter/space problems
-               my $result = system(join(' ', @cmd_stack));
+               my $result = system(@cmd_stack);
                
                if ($result != 0) {
                        # bitmask return value

Reverting this patch fixes the issue. If I have time, I will investigate another method of implementation.







--- System information. ---
Architecture: amd64
Kernel:       Linux 3.10-2-amd64

Debian Release: jessie/sid
  900 testing         security.debian.org
  900 testing         mirror.rackspace.com
  900 testing         mirror.csclub.uwaterloo.ca
  500 stable          dl.google.com

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
perl                          | 5.14.2-21
rsync                         | 3.0.9-4
logrotate                     | 3.8.5-1
liblchown-perl                | 1.01-1+b2


Recommends          (Version) | Installed
=============================-+-===========
openssh-client                | 1:6.2p2-6
 OR ssh-client                |


Package's Suggests field is empty.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to