Public bug reported: In ubuntu 14.04 LTS, rsnapshot 1.3.1-4 is broken when 'ssh_args' are set in the rsnapshot configuration file. For example, I set ssh_args to '-p 22022', which causes my rsnapshot backup to fail with he following error:
rsync: Failed to exec /usr/bin/ssh -p 22022: No such file or directory (2) rsync error: error in IPC code (code 14) at pipe.c(85) [Receiver=3.1.0] This worked in saucy's 1.3.1-3 rsnapshot; the newer version has changed the way rsync is invoked from rsnapshot, passing an array to perl's system() function (which is not interpreted by a shell before being exec()ed) rather than a constructed single string, which is interpreted by a shell, and thus requires the arguments passed to rsync's -rsh argument to be quoted so as to be gathered into a single argument by the shell. (This was also reported in debian bug https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=717451) ** Affects: rsnapshot (Ubuntu) Importance: Undecided Status: New ** Affects: rsnapshot (Debian) Importance: Unknown Status: Unknown ** Tags: trusty ** Bug watch added: Debian Bug tracker #717451 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717451 ** Also affects: rsnapshot (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717451 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309710 Title: Backups broken when "ssh_args" are set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rsnapshot/+bug/1309710/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
