Some files in a filesystem to be backed up were owned by the 32-bit version of "nobody" (not that I wanted them to be but that's another story). Numerically this is -2 or 4294967294. This made rdiff-backup 1.2.5 crash (see below). Changing the owner to root works around the problem.
Chris D
Processing changed file etc/apt/sources.list
Exception 'long int too large to convert to int' raised of class '<type 'excepti
ons.OverflowError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in er
ror_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Ma
in
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in ta
ke_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Ba
ckup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in M
irror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 232, in
patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, i
n __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 529, in
fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 559, in
patch_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 180, in c
opy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 977, in c
hown
else: os.chown(self.path, uid, gid)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in er
ror_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Ma
in
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in ta
ke_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Ba
ckup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in M
irror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 232, in
patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, i
n __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 529, in
fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 559, in
patch_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 180, in c
opy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 977, in c
hown
else: os.chown(self.path, uid, gid)
OverflowError: long int too large to convert to int
[Prev in Thread]
Current Thread
[Next in Thread]
[rdiff-backup-users] doesn't handle user "nobody",
Chris Dumont<=