[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #39476] regression error on encfs destination w
From: |
anonymous |
Subject: |
[Rdiff-backup-bugs] [bug #39476] regression error on encfs destination with long filename |
Date: |
Fri, 12 Jul 2013 20:41:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130515 Firefox/17.0 Iceweasel/17.0.6 |
URL:
<http://savannah.nongnu.org/bugs/?39476>
Summary: regression error on encfs destination with long
filename
Project: rdiff-backup
Submitted by: None
Submitted on: Fr 12 Jul 2013 20:41:18 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello,
After an aborted backup I always get this error:
Previous backup seems to have failed, regressing destination now.
...
AssertionError: Bad index order: ('long_filename_data', '1') >= ('b',)
I append a patch with this bug report. It cures the error but I did not check
whether the regression is doing now what it is intended to do. The error is
caused by filenames which are to long to be saved on the target directory.
Rdiff-backup uses the 'AlternateMirrorName' technique in this case. My target
directory is an encfs encrypted directory with filename encryption. Filenames
are limited to 189 bytes.
Here are my findings. Line 275 of rorpiter.py throws the error. The line test
for the index order. The index order is an alphabetical filename order. Line
255 of longname.py opens a new 'mirror_rp' with 'index'
,,('long_filename_data', '1')'' for regression. This index is used for the
index test but it should be tested against the long filename related to this
regression.
In my example the long filename is 190 bytes 'a190byteaaaa...aaa'. A second
file following the long file name is necessary to throw the error. I use
filename 'b'. The error only occurs if both files are alphabetically placed
before the string 'long_filename_data'.
my system:
Debian 7.1
rdiff-backup 1.2.8
I know, this is more or less an auto information list. V1.2.8 is from 2009.
Should I post the bug report on Debian to get the patch publicized?
Many thanks to the developers of rdiff-backup!!!
Christian
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fr 12 Jul 2013 20:41:18 UTC Name: long-filename-regression.patch Size:
571B By: None
<http://savannah.nongnu.org/bugs/download.php?file_id=28557>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?39476>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Rdiff-backup-bugs] [bug #39476] regression error on encfs destination with long filename,
anonymous <=