+rsync_long_args=--rsync-path="sudo rsync" command fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsnapshot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using rsnapshot with the +rsync_
Example:
rsync -aPe ssh --rsync-path="sudo rsync" user@remoteserv
In addition if I install rsnapshot on a 12.04 server this issue does not occur even when pulling form the same server.
I believe this is a bug introduced into 14.04 with rsnapshot as I've removed the package from the 14.04 server and cloned the rsnapshot github repo and installed rsnapshot with it and the issue is no longer.
Not sure if it relates to the upstream Debian package/bug of this: Debian Bug report logs - #743310 - https:/
Ubuntu Server version:
Description: Ubuntu 14.04 LTS
Release: 14.04
Rsnapshot installed details:
rsnapshot:
Installed: 1.3.1-4ubuntu0.1
Candidate: 1.3.1-4ubuntu0.1
Version table:
*** 1.3.1-4ubuntu0.1 0
The expected result is for the +rsync_
What happens is the rsnapshot run fails and returns:
bash: sudo rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.0]
ERROR: /usr/bin/rsync returned 12 while processing
Status changed to 'Confirmed' because the bug affects multiple users.