Hello, As i cannot get 3.0.0pre5 to work in my environment (throwing crazy errors which i've posted previously), i would like to revert to 2.6.9 . Of course, the reason i tried to use v3 in the first place was for the acl, xattr, and fake-super options - which, evidently, can be enabled under 2.6.9, as per the following sources: http://lists.samba.org/archive/rsync/2007-February/017218.html http://fresh.t-systems-sfr.com/unix/src/misc/rsync-2.6.9.tar.gz:a/rsync-2.6.9/patches/fake-super.diff I can successfully apply both acls.diff and xattrs.diff to the 2.6.9 source, however, fake-super.diff is not as smooth: --------- $ patch -p1 < patches/fake-super.diff patching file backup.c patching file clientserver.c patching file flist.c patching file loadparm.c patching file options.c patching file rsync.c patching file rsync.h patching file rsync.yo patching file rsyncd.conf.yo patching file syscall.c patching file t_unsafe.c patching file tls.c patching file trimslash.c patching file xattr.c patching file proto.h Hunk #2 FAILED at 333. 1 out of 2 hunks FAILED -- saving rejects to file proto.h.rej patching file configure Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file configure.rej patching file config.h.in Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 6 out of 6 hunks ignored -- saving rejects to file config.h.in.rej patching file rsync.1 Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 7 out of 7 hunks ignored -- saving rejects to file rsync.1.rej patching file rsyncd.conf.5 --------- If i attempt to compile, make completes successfully (albeit with some warnings), and i get an rsync binary. Unfortunately, when i try to use it, i get the following error: Internal error: wrong write used in receiver. rsync error: protocol incompatibility (code 2) at io.c(1204) [generator=2.6.9] Exactly the same behaviour occurs (compiled binary and run-time error) if i choose to apply the patches "anyway". I am curious if anybody has successfully enabled acl, xattr, and fake-super support in 2.6.9 . If so, i would /love/ to know how you did it, as i'm starting to get a little desperate for a solution! Thank you all. -- dan.
On Nov 15, 2007, at 3:02 PM, Daniel Maher wrote:> As i cannot get 3.0.0pre5 to work in my environment (throwing crazy > errors which i've posted previously), i would like to revert to > 2.6.9 . > Of course, the reason i tried to use v3 in the first place was for the > acl, xattr, and fake-super options - which, evidently, can be enabled > under 2.6.9, as per the following sources: > > http://lists.samba.org/archive/rsync/2007-February/017218.html > http://fresh.t-systems-sfr.com/unix/src/misc/rsync-2.6.9.tar.gz:a/ > rsync-2.6.9/patches/fake-super.diff > > I can successfully apply both acls.diff and xattrs.diff to the 2.6.9 > source, however, fake-super.diff is not as smooth: > $ patch -p1 < patches/fake-super.diffDid you apply first acfs, then xattrs, then fake-super? You need to apply them in that order.> If i attempt to compile, make completes successfully (albeit with some > warnings), and i get an rsync binary.... which clearly will be broken.> I am curious if anybody has successfully enabled acl, xattr, and > fake-super support in 2.6.9 . If so, i would /love/ to know how > you did > it, as i'm starting to get a little desperate for a solution!I had no problems when I did this. Can you give the complete sequence of commands you are running, from untarring to patching the fake-super patch? (again: first acl, then xattr)
On Thu, 2007-11-15 at 19:35 +0100, Wesley W. Terpstra wrote:> On Nov 15, 2007, at 3:02 PM, Daniel Maher wrote: > > I can successfully apply both acls.diff and xattrs.diff to the 2.6.9 > > source, however, fake-super.diff is not as smooth: > > $ patch -p1 < patches/fake-super.diff > > Did you apply first acfs, then xattrs, then fake-super? You need to > apply them in that order. >> I had no problems when I did this. > Can you give the complete sequence of commands you are running, from > untarring to patching the fake-super patch? (again: first acl, then > xattr)Thank you for your reply. My exact sequence is as follows: $ tar -xzf rsync-2.6.9.tar.gz $ cd rsync-2.6.9 $ patch -p1 < patches/acls.diff $ patch -p1 < patches/xattrs.diff $ patch -p1 < patches/fake-super.diff For reference, i am using patch 2.5.4 standard on a relatively fresh install of Fedora Core 7. For the sake of completeness, i have included the diff rej files as an attachment. At this point, i would gladly accept a tarball with the patched sources. :P -- dan. -------------- next part -------------- A non-text attachment was scrubbed... Name: rsync-dma-rej.tar.gz Type: application/x-compressed-tar Size: 4929 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20071116/ce5eeb22/rsync-dma-rej.tar.bin