When I upgraded my servers running Ubuntu 6.06 and Ubuntu 4.0 to use 
rdiff-backup 1.2.2 I've started getting some strange warnings regarding broken 
symlinks. This is a new behavior not seen using previous version of 
rdiff-backup.

These are the warnings I get while trying to backup broken symlinks

[EMAIL PROTECTED]:~/temp$ rdiff-backup from/ to/
Warning: listattr('from/linkdir/a'): [Errno 2] No such file or directory
Warning: listattr('to/linkdir/rdiff-backup.tmp.2'): [Errno 2] No such file or 
directory
Warning: listattr('from/linkdir/c'): [Errno 2] No such file or directory
Warning: listattr('to/linkdir/rdiff-backup.tmp.4'): [Errno 2] No such file or 
directory
[EMAIL PROTECTED]:~/temp$ rm -rf to/*
[EMAIL PROTECTED]:~/temp$ rdiff-backup --exclude-symbolic-links from/ to/
Warning: listattr('from/linkdir/a'): [Errno 2] No such file or directory
Warning: listattr('from/linkdir/c'): [Errno 2] No such file or directory

This by the way, is the content of my from folder

[EMAIL PROTECTED]:~/temp$ ls -l from/filedir/
total 4
-rw-rw---- 1 andreas andreas 2 2008-11-09 02:36 b
[EMAIL PROTECTED]:~/temp$ ls -l from/linkdir/
total 0
lrwxrwxrwx 1 andreas andreas 12 2008-11-09 02:36 a -> ../filedir/a
lrwxrwxrwx 1 andreas andreas 12 2008-11-09 02:37 b -> ../filedir/b
lrwxrwxrwx 1 andreas andreas 12 2008-11-09 02:37 c -> ../filedir/c 

These warnings only shows up if python-pyxattr is installed

Ubuntu 6.06 uses Python version 2.4.3
Debian 4.0 uses Python version 2.4.4

I haven't been able to reproduce these errors on a system using Python 2.5.x

(No, I'm not actually sure this is related to the involed version of Python.)

-- 
Andreas Olsson
http://www.andreasolsson.se/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to