rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Integer too small on AMD64 machine


From: Ben Escoto
Subject: Re: [rdiff-backup-users] Integer too small on AMD64 machine
Date: Mon, 11 Apr 2005 11:29:49 -0700

>>>>> address@hidden
>>>>> wrote the following on Mon, 11 Apr 2005 13:51:28 +0100

> I've been trying to use rdiff-backup to copy between two locally
> mounted disk drives on a AMD64 box running Ubuntu. After creating
> about 16BG of files in the destination directory, the command fails
> with an integer overflow error.
> 
> Is this a 64-bit problem? I don't see anything in the FAQ or Wiki
> which might help out.
> 
> I'm using python 2.4.1, librsync1 0.9.7 and rsync 2.6.3-2ubuntu1
> packages.
...
>     try: uname = pwd.getpwuid(uid)[0]

I haven't seen this before, perhaps someone else has some insight.
The problem seems to be that rdiff-backup can't query the username of
some uid because the uid (as read from the file system) is too big.

Probably there is some file with a junk uid, but probably rdiff-backup
should handle this case without crashing.  Is it traditional that uids
have to be less than 65536/32768 or something?

Or should this be a bug in python's getpwuid since very large uids
should be allowable.


-- 
Ben Escoto

Attachment: pgppMhEjk0JZN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]