[Bug 1309710] [NEW] Backups broken when "ssh_args" are set

Launchpad Bug Tracker 1309710 at bugs.launchpad.net
Sat Apr 19 00:26:41 UTC 2014


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

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: Confirmed

** Affects: rsnapshot (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: patch trusty
-- 
Backups broken when "ssh_args" are set
https://bugs.launchpad.net/bugs/1309710
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list