rsync 3.0.2 with --fileflags on FreeBSD: cannot rsynchardlinked immutable files

Jonathan Call jcall at verio.net
Mon Jun 9 14:14:20 GMT 2008


> -----Original Message-----
> From: rsync-bounces+jcall=verio.net at lists.samba.org [mailto:rsync-
> bounces+jcall=verio.net at lists.samba.org] On Behalf Of Raphael Becker
> Sent: Saturday, June 07, 2008 4:55 PM
> To: rsync at lists.samba.org
> Subject: Re: rsync 3.0.2 with --fileflags on FreeBSD: cannot
> rsynchardlinked immutable files
> 
> On Sat, May 31, 2008 at 09:16:43PM +0200, I wrote:
> > Hi *,
> >
> > it seems rsync with --fileflags isn't able to work on (already)
> > hardlinked and immutable ("schg") files on FreeBSD. The following
> > scripts will create a simple example for this behaviour:
> 
> I forgot to check --force-change but this didn't help either.
> 
> I googled around and found
> http://rsync.samba.org/ftp/rsync/patches/fileflags.diff
> 
> ... which doesn't seem to work on the current(?) sources:
> 
> root at daemon:/usr/ports/net/rsync# make extract
> ===>  Vulnerability check disabled, database not found
> ===>  Found saved configuration for rsync-3.0.2_1
> => rsync-3.0.2.tar.gz doesn't seem to exist in
> /data/ftp/pub/FreeBSD/distfiles//.
> => Attempting to fetch from
> http://ftp2.de.freebsd.org/FreeBSD/distfiles//.
> fetch:
http://ftp2.de.freebsd.org/FreeBSD/distfiles//rsync-3.0.2.tar.gz:
> Not Found
> => Attempting to fetch from http://rsync.samba.org/ftp/rsync/.
> rsync-3.0.2.tar.gz                            100% of  747 kB   21
MBps
> => rsync-patches-3.0.2.tar.gz doesn't seem to exist in
> /data/ftp/pub/FreeBSD/distfiles//.
> => Attempting to fetch from
> http://ftp2.de.freebsd.org/FreeBSD/distfiles//.
> fetch: http://ftp2.de.freebsd.org/FreeBSD/distfiles//rsync-patches-
> 3.0.2.tar.gz: Not Found
> => Attempting to fetch from http://rsync.samba.org/ftp/rsync/.
> rsync-patches-3.0.2.tar.gz                    100% of  150 kB   17
MBps
> ===>  Extracting for rsync-3.0.2_1
> => MD5 Checksum OK for rsync-3.0.2.tar.gz.
> => SHA256 Checksum OK for rsync-3.0.2.tar.gz.
> => MD5 Checksum OK for rsync-patches-3.0.2.tar.gz.
> => SHA256 Checksum OK for rsync-patches-3.0.2.tar.gz.
> ===>   rsync-3.0.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
> 
> Overriding the patch from the distfile with the patch from the web:
> root at daemon:/usr/ports/net/rsync# wget -O
> /data/tmp/usr/ports/net/rsync/work/rsync-3.0.2/patches/fileflags.diff
> http://rsync.samba.org/ftp/rsync/patches/fileflags.diff
> 
> But this patch doesn't match the current(?) sources:
> 
> root at daemon:/usr/ports/net/rsync# make patch
> ===>  Patching for rsync-3.0.2_1
> ===>   rsync-3.0.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>  Applying extra patch
> /data/tmp/usr/ports/net/rsync/work/rsync-3.0.2/patches/fileflags.diff
> 1 out of 2 hunks failed--saving rejects to t_stub.c.rej
> 1 out of 4 hunks failed--saving rejects to util.c.rej
> *** Error code 2
> 
> Stop in /usr/ports/net/rsync.
> *** Error code 1
> 
> Stop in /usr/ports/net/rsync.
> 
> The two distfiles are
> MD5 (rsync-3.0.2.tar.gz) = fd4c5d77d8cb7bb86ab209076fa214d9
> MD5 (rsync-patches-3.0.2.tar.gz) = c076661c447ddc165f4ff427e7264a31
> 
> Does anyone know if there's a way to rsync hardlinks on immutable
files?
> Wayne Davison? Rolf Grossmann? Anyone else?
> 
> Help would be greatly appreciated.
> 
> Regards
> Raphael Becker
> 

This impacts my systems as well so I would also appreciate a
fix/solution.

Jonathan


This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free.  Thank you.


More information about the rsync mailing list