Backups broken when "ssh_args" are set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsnapshot (Debian) |
Fix Released
|
Unknown
|
|||
rsnapshot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact/Test Case]
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.
[Regression Potential]
Fix identified here:
https:/
(This was also reported in debian bug https:/
Changed in rsnapshot (Debian): | |
status: | Unknown → New |
Changed in rsnapshot (Debian): | |
status: | New → Fix Committed |
Changed in rsnapshot (Debian): | |
status: | Fix Committed → New |
Changed in rsnapshot (Debian): | |
status: | New → Fix Released |
Changed in rsnapshot (Debian): | |
status: | Fix Released → New |
Changed in rsnapshot (Debian): | |
status: | New → Fix Released |
Setting as confirmed, based on content of Debian bug.