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: dean gaudet
Subject: Re: [rdiff-backup-users] Integer too small on AMD64 machine
Date: Mon, 11 Apr 2005 14:18:45 -0700 (PDT)

>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.

i'd look for a 16->64 bit sign extension which should have been 16->32 
bit... or shouldn't have happenned at all.  i don't know enough about 
python typesize / sign extensions to figure it out myself.  but the ubuntu 
system probably has 32-bit uids, and you might be using 64-bit ints in 
rdiff-backup.

16-bit uids are more traditional, but 32-bits is common in new distros.

-dean




reply via email to

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