I have upgraded my backup server to jessie, and was hit by this bug -- all my backups stopped working. My rsnapshot.conf looked like this:
ssh_args -F /backup/.ssh/config
and I got the following error in the log file:
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
--exclude /dev --exclude /proc --exclude /run --exclude /sys \
--rsh="/usr/bin/ssh -F /backup/.ssh/config" [email protected]:/ \
/backup/chat.josefsson.org/.sync/./
rsync: Failed to exec /usr/bin/ssh -F /backup/.ssh/config: No such file or
directory (2)
rsync error: error in IPC code (code 14) at pipe.c(85) [Receiver=3.1.1]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in IPC code (code 14) at io.c(226) [Receiver=3.1.1]
I came up with a workaround, create a small script 'my-ssh' that looks like
this:
#!/bin/sh
exec ssh -F /backup/.ssh/config "$@"
and then remove the ssh_args from rsnapshot.conf but add:
cmd_ssh /backup/my-ssh
This works for me, and hopefully can help others if this bug
isn't fixed before jessie is released.
/Simon
pgp_6U9R24y5g.pgp
Description: OpenPGP digital signatur

