Public bug reported: Using rsnapshot with the +rsync_long_args=--rsync-path="sudo rsync" command fails with a rsync not found error. If I do a rsync only without using rsnapshot as shown below, the command works find so it's not related to rsync or sudo/ssh configurations.
Example: rsync -aPe ssh --rsync-path="sudo rsync" user@remoteserver:/etc /rsnapshot/remoteserver 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://bugs.debian.org/cgi- bin/bugreport.cgi?bug=743310 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_long_args=--rsync-path="sudo rsync" command syntax to work without errors. 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 ** Affects: rsnapshot (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1332753 Title: +rsync_long_args=--rsync-path="sudo rsync" command fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rsnapshot/+bug/1332753/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
