If one is rsyncing a machine without selinux (therefore no security.selinux
xattr on each file), to a system that has selinux (even in permissive
mode), rsync doesn't play nice.

basically selinux seems to make it appear that every file has
security.selinux xattr on each file (I think this is virtually if there's
no physical attribute, as if one disables selinux, the attribute
disappears).  rsync sees that on the temp file it created there is an xattr
which is not on the source file and therefore tries to remove it, but this
fails, which causes rsync to believe it failed as well.

It be nice if there was  way to tell rsync to ignore some xattrs that might
be automatically created on the destination while still allowing xattr
syncing.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to