Package: rdiff-backup
Version: 1.1.5-3
Severity: normal
Hi,
When I use rdiff-backup with --remove-older-than and use a "B" time
format, I get a Security Violation exception. This does not occur if,
say, I use "60D" instead of "60B". It also does not occur if I am using
with a local backup directory rather than a remote one.
A quick search shows that a fix may be available in CVS.
Thanks.
Below is the output:
[EMAIL PROTECTED]:~$ rdiff-backup --remove-older-than 60B
[EMAIL PROTECTED]::/narc/Backups/travis
[EMAIL PROTECTED]'s password:
Exception '
Warning Security Violation!
Bad request for function: restore.MirrorStruct.get_increment_times
with arguments: []
' raised of class 'rdiff_backup.Security.Violation':
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
279, in take_action
elif action == "remove-older-than": RemoveOlderThan(rps[0])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
668, in RemoveOlderThan
time = rot_check_time(remove_older_than_string)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
675, in rot_check_time
try: time = Time.genstrtotime(time_string)
File "/var/lib/python-support/python2.4/rdiff_backup/Time.py", line
223, in genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/var/lib/python-support/python2.4/rdiff_backup/Time.py", line
187, in time_from_session
session_times = Globals.rbdir.conn.restore.MirrorStruct \
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 370, in reval
if isinstance(result, Exception): raise result
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
279, in take_action
elif action == "remove-older-than": RemoveOlderThan(rps[0])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
668, in RemoveOlderThan
time = rot_check_time(remove_older_than_string)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
675, in rot_check_time
try: time = Time.genstrtotime(time_string)
File "/var/lib/python-support/python2.4/rdiff_backup/Time.py", line
223, in genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/var/lib/python-support/python2.4/rdiff_backup/Time.py", line
187, in time_from_session
session_times = Globals.rbdir.conn.restore.MirrorStruct \
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 448, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/var/lib/python-support/python2.4/rdiff_backup/connection.py",
line 370, in reval
if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: restore.MirrorStruct.get_increment_times
with arguments: []
Fatal Error: Lost connection to the remote system
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-4.jjf1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages rdiff-backup depends on:
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii librsync1 0.9.7-1 Library which implements
the rsync
ii python 2.4.3-11 An interactive high-level
object-o
ii python-support 0.4.1 automated rebuilding
support for p
rdiff-backup recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]