backupninja's duplicity handler does not pass ssh options correctly for current versions of duplicity

Bug #1034550 reported by Jeffery von Ronne
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
backupninja (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The duplicity handler in backupninja does not pass any "sshoptions" given in dup action configuration files to duplicity correctly.
This can render backupninja's duplicity support unusable if ssh options are required to log in on the server on which the backup is to be stored. The reason for this is that duplicity changed the way it accepts ssh options. The version of duplicity in precise (0.6.18) has an --ssh-options option for this. In older versions, one could tack it on them on the end of --scp-command and --sftp-command options. This no longer works and produces the following error:

  Info: Warning: Option --scp-command is deprecated and ignored. Use --ssh-options instead.
  Info: Warning: Option --sftp-command is deprecated and ignored. Use --ssh-options instead.

The code in question is on line 110 and following in /usr/share/backupninja/dup.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: backupninja 0.9.10-1ubuntu1 [modified: usr/share/backupninja/dup]
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Wed Aug 8 13:03:09 2012
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.3)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: backupninja
UpgradeStatus: Upgraded to precise on 2012-08-07 (1 days ago)
modified.conffile..etc.backupninja.conf: [modified]
mtime.conffile..etc.backupninja.conf: 2012-05-24T22:37:20.122254

Revision history for this message
Jeffery von Ronne (vonronne) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in backupninja (Ubuntu):
status: New → Confirmed
Changed in backupninja (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.