tags 685352 + upstream
forwarded 685352 https://bugs.launchpad.net/duplicity/+bug/1039001
thanks

On Sun, 19 Aug 2012 23:05:14 -0700, Ian Zimmerman writes:
>When I give the --exclude-if-present option to duplicity, it tries to
>locate that file underneath the symlink, even if
>--exclude-other-filesystems is given as well.  

of course, because in order to determine if the file exists,
all symlinks involved in its path need to be followed. the 
symlinks need to be followed as well to determine if a file/dir 
is on the same filesystem.

the real problem is that duplicity's code in question is pretty silly 
wrt error codes: a few are white listed (so to speak) and taken as 
'no file here, continue' and the rest are simply not handled and crash 
the program. the white list doesn't contain EACCESS (=13), which is 
what causes your trouble.

workaround: if you don't use --exclude-if-present, then 
--exclude-other-filesystems works fine with symlinks pointing
to stuff on inaccessible other filesystems (i tested this myself).

i'll have a look at a more permanent solution, but it won't make it
into the wheezy version.

regards
az


-- 
Alexander Zangerl + GnuPG Keys 0x42BD645D or 0x5B586291 + http://snafu.priv.at/
When I do it, it's development.  When you do it, it's coding. 
When he does it, it's mindless hacking." -- Paul Tomblin

Attachment: signature.asc
Description: Digital Signature

Reply via email to