[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #21202] Crash : AssertionError: no ownership of
From: |
anonymous |
Subject: |
[Rdiff-backup-bugs] [bug #21202] Crash : AssertionError: no ownership of ... |
Date: |
Mon, 01 Oct 2007 04:29:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5 |
URL:
<http://savannah.nongnu.org/bugs/?21202>
Summary: Crash : AssertionError: no ownership of ...
Project: rdiff-backup
Submitted by: None
Submitted on: lundi 01.10.2007 à 04:29 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi
I'm a new user and try to use rdiff-backup in my environnement.
I got the foillowing problem with 1.05 and reproduce it with 1.1.14
The first rdiff backup is ok, but the following rdiff crash with traceback.
I made some tracking, but i'm new in python. This patch seems working, but i
don't know the reason of the 'assert'
--- backup.py.old 2007-10-01 06:22:17.000000000 +0200
+++ backup.py 2007-09-30 22:30:51.000000000 +0200
@@ -206,7 +206,8 @@
# This branch can happen with root source and
non-root
# destination. Permissions are changed permanently,
which
# should propogate to the diffs
- assert dest_rp.isowner(), 'no ownership of %s' %
(dest_rp.path,)
+ #assert dest_rp.isowner(), 'no ownership of %s' %
(dest_rp.path,)
+ dest_rp.isowner()
dest_rp.chmod(0400 | dest_rp.getperms())
return Rdiff.get_signature(dest_rp)
My environnement :
fedora 7 lanch a rdiff on a nfs mounted directory (/net/d2r2/BACKUP/...)
The nfs has the particularity to force mapping of user :
/BACKUP *(rw,all_squash,anonuid=99,anongid=99)
Here is the end of the log (level 9)
Sun Sep 30 12:32:13 2007 Regressing attributes of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}/uninstall
Sun Sep 30 12:32:13 2007 Copying attributes from ('Thunderbird',
'extensions', '{e9a9c0c3-8673-ae31-8a09-b52878ed1e}', 'uninstall') to
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}/uninstall
Sun Sep 30 12:32:13 2007 Setting time of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}/uninstall
to 1113044062
Sun Sep 30 12:32:13 2007 Regressing attributes of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}
Sun Sep 30 12:32:13 2007 Copying attributes from ('Thunderbird',
'extensions', '{e9a9c0c3-8673-ae31-8a09-b52878ed1e}') to
/net/d2r2/BACKUP/nx/rdiff/Private/ThunderbiSun Sep 30 12:32:14 2007 Exception
'no ownership of /net/d2r2/BACKUP/nx/rdiff/Private/Admin/Admin/Redhat.pdf'
raised of class '<type 'exceptions.AssertionError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 341, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 227,
in patch_and_increment
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 169,
in FillInIter
first_rp = rpiter.next() # StopIteration gets passed upwards
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 103,
in get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 178,
in get_sigs
src_rorp, dest_rorp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 193,
in get_one_sig
sig_fp = cls.get_one_sig_fp(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 209,
in get_one_sig_fp
assert dest_rp.isowner(), 'no ownership of %s' % (dest_rp.path,)
rd/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}
Sun Sep 30 12:32:13 2007 Setting time of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions/{e9a9c0c3-8673-ae31-8a09-b52878ed1e}
to 1113044062
Sun Sep 30 12:32:13 2007 Regressing attributes of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions
Sun Sep 30 12:32:13 2007 Copying attributes from ('Thunderbird',
'extensions') to /net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions
Sun Sep 30 12:32:13 2007 Setting time of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird/extensions to 1190921064
Sun Sep 30 12:32:13 2007 Regressing attributes of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird
Sun Sep 30 12:32:13 2007 Copying attributes from ('Thunderbird',) to
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird
Sun Sep 30 12:32:13 2007 Setting time of
/net/d2r2/BACKUP/nx/rdiff/Private/Thunderbird to 1191087496
Sun Sep 30 12:32:13 2007 Regressing attributes of
/net/d2r2/BACKUP/nx/rdiff/Private
Sun Sep 30 12:32:13 2007 Copying attributes from () to
/net/d2r2/BACKUP/nx/rdiff/Private
Sun Sep 30 12:32:13 2007 Setting time of /net/d2r2/BACKUP/nx/rdiff/Private
to 1183649797
Sun Sep 30 12:32:13 2007 Deleting
/net/d2r2/BACKUP/nx/rdiff/Private/rdiff-backup-data/current_mirror.2007-09-30T11:59:19+02:00.data
Sun Sep 30 12:32:13 2007 Reading globbing filelist /tmp/tmp.VHGbvC3005
Sun Sep 30 12:32:13 2007 Reading globbing filelist /tmp/tmp.qzUhzA3003
Sun Sep 30 12:32:13 2007 Writing mirror marker
/net/d2r2/BACKUP/nx/rdiff/Private/rdiff-backup-data/current_mirror.2007-09-30T12:26:53+02:00.data
Sun Sep 30 12:32:13 2007 Starting increment operation /home/laurent/Private
to /net/d2r2/BACKUP/nx/rdiff/Private
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in
error_check_Main
try: Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 341, in
Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 51, in
Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 227,
in patch_and_increment
for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 169,
in FillInIter
first_rp = rpiter.next() # StopIteration gets passed upwards
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 103,
in get_diffs
for dest_sig in dest_sigiter:
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 178,
in get_sigs
src_rorp, dest_rorp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 193,
in get_one_sig
sig_fp = cls.get_one_sig_fp(dest_rp)
File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 209,
in get_one_sig_fp
assert dest_rp.isowner(), 'no ownership of %s' % (dest_rp.path,)
AssertionError: no ownership of
/net/d2r2/BACKUP/nx/rdiff/Private/Admin/Admin/Redhat.pdf
====>>>>> Error backup rdiff
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21202>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Rdiff-backup-bugs] [bug #21202] Crash : AssertionError: no ownership of ...,
anonymous <=