[Bug 6590] [sender] could not find xattr #1 for home/jdoe/TheFresh

samba-bugs at samba.org samba-bugs at samba.org
Sat Aug 15 16:21:22 UTC 2015


--- Comment #5 from Hans-Kristian <hkbakke at gmail.com> ---
I am running into this on rsync v3.1.1 in Debian Jessie.

The symptoms are the same as #3, and as 3.1.1 have the patch in
https://bugzilla.samba.org/show_bug.cgi?id=9594 as I have understood I think
this is another issue.

rsync -avihh --stats --out-format=%i %C %n%L --numeric-ids
--partial-dir=.rsync-partial --timeout=600 --acls --xattrs --fake-super -e ssh
-i <key> -f merge <rule_file> root@<source>:/ <destination>

[sender] could not find xattr #1 for root/test
rsync error: protocol incompatibility (code 2) at xattrs.c(622) [sender=3.1.1]
2015-08-15 17:50:54 -> Rsync returned non-zero exit code [ 2 ]

The issue is caused by attributes set via Samba4 and only when "security.NTACL"
and "user.DOSATTRIB" coexists. Other xattrs set on the same file doesn't seem
to matter.

Reproducer for a problematic source file:

set -e


[[ -f ${dest} ]] && rm -f "${dest}"
echo "1" > "${dest}"

setfattr -n "security.NTACL" -v
setfattr -n "user.DOSATTRIB" -v


You are receiving this mail because:
You are the QA Contact for the bug.

More information about the rsync mailing list