please backport 64-bit uid patch to 2.5.2

Bug #246039 reported by greenmoss
2
Affects Status Importance Assigned to Milestone
python2.5 (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: python2.5

I am using package rdiff-backup from hardy on a 64-bit system. rdiff-backup uses python. The 32-bit UID in python is causing rdiff-backup to die during backup runs. I reported the bug on the rdiff-backup package, and the maintainer said it is fixed in python 2.5.3. Without this fix, I am going to have to find some other way to do my backups. Here's the stack trace from rdiff-backup:

Traceback (most recent call last):
 File "/usr/bin/rdiff-backup", line 23, in <module>
   rdiff_backup.Main.error_check_Main(sys.argv[1:])
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main
   try: Main(arglist)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main
   take_action(rps)
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action
   elif action == "backup": Backup(rps[0], rps[1])
 File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 341, in Backup
   backup.Mirror_and_increment(rpin, rpout, incdir)
 File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 51, in Mirror_and_increment
   DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
 File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 243, in patch_and_increment
   ITR(diff.index, diff)
 File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__
   last_branch.fast_process(*args)
 File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 689, 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 556, in patch_to_temp
   rpath.copy_attribs(diff_rorp, new)
 File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 176, in copy_attribs
   rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
 File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 903, in chown
   else: os.chown(self.path, uid, gid)
OverflowError: signed integer is greater than maximum

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-16-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rdiff-backup depends on:
ii libc6 2.7-10ubuntu3 GNU C Library: Shared libraries
ii librsync1 0.9.7-1build1 Library which implements the rsync
ii python 2.5.2-0ubuntu1 An interactive high-level object-o
ii python-support 0.7.5ubuntu1 automated rebuilding support for p

For more information, please see the bug I submitted against rdiff-backup:

https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/245844

Revision history for this message
Josef Liška (jl-chl) wrote :

Hello, I had the same problem. Finaly I got this ugly workaround:
- install fuse and fuse-dev
- install bindfs http://code.google.com/p/bindfs/

Mounted directories, which had large uids/gids with bindfs:
bindfs -u root -g root /home /mnt/homefix

backed up from/to /mnt/*fix

Matthias Klose (doko)
Changed in python2.5:
status: New → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

fixed in intrepid

Changed in python2.5:
status: In Progress → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in python2.5 (Ubuntu Hardy):
status: New → Won't Fix
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.