DO NOT REPLY [Bug 7618] symlinks and --link-dest

samba-bugs at samba.org samba-bugs at samba.org
Sat Aug 14 15:11:11 MDT 2010


https://bugzilla.samba.org/show_bug.cgi?id=7618





------- Comment #8 from matt at mattmccutchen.net  2010-08-14 16:11 CST -------
Yes, I was mixed up.  A Linux destination should have no trouble hard-linking
symlinks.

New theory: the receiving rsync was configured with HAVE_LUTIMES=1, meaning
that it treats symlink mtimes as significant, but lutimes does not actually
work.  This can happen if rsync was built on a kernel >= 2.6.22 but is running
on an older kernel.  Under these conditions, rsync's attempt to set the mtime
of home/zumrova/.tsm in the first destination directory would fail with ENOSYS,
which rsync would not report, and then the difference in mtime from the source
would disqualify that symlink for hard-linking.

Can you confirm this theory by running the receiving rsync under "strace -f"
and looking for a "utimensat" call that fails with ENOSYS?


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list