Can anyone tell me the repository to use to upgrade to a version of rsync later than 3.1.2?
Chris
12 thoughts on - Rsync Upgrade
You’ll need to upgrade to CentOS8.
C7 is at rsync 3.1.2-10, and will not go above 3.1.2 ever.
C8.2 is at 3.1.3-7, C8 will always be on 3.1.3
Martin
Another option is to build rsync from source, which is what I did to try out the zstd compression.
CentOS7$ rsync –version rsync version 3.2.2 protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others. Web site: https://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, atimes, batchfiles, inplace,
append, no ACLs, xattrs, optional protect-args, iconv, symtimes, prealloc Optimizations:
no SIMD, asm, openssl-crypto Checksum list:
xxh64 (xxhash) md5 md4 none Compress list:
zstd lz4 zlibx zlib none
Or you could try rebuilding the latest fedora SRPM on el7 (or the RHEL8
SRPM if that is new enough for you). Sometimes it’s straight forward, other times this approach may fail with newer build requirements than those provided by el7.
Worth a try though.
The problem that I keep running into is, our synology backup device
(RS3618xs) has an option to make a connection to each Linux VM, and our file server’s backup keeps failing every night with the error message:
“The samba shared folder settings of the source data cannot support backup. Please disable “store dos attributes” and “vss objects”.
In smb.conf the only reference to store dos attributes is a commented out line, and nothing references vss objects.
This error is coming up on a new vm running CentOS 7.8.2003 (Core), Samba 4.10.4, rsync 3.1.2.
The exact same setup on the old vm running CentOS6.10 (Final), Samba
3.6.23-53.el6_10, rsync 3.0.6 with the same files which have DOS
attributes on them, and the backup works fine.
Other VM’s running the same command structure using the same version of CentOS 7 work without issues.
Per Synology support the issue is the files that contain DOS attributes are breaking the backup.
Is anyone aware of issues with files that contain DOS attributes breaking rsync backups on CentOS7.8.2003 with Samba 4.10.4 and Rsync 3.1.2?
“If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution. For information on how to contact the Red Hat production support team, please visit: https://access.redhat.com/support“
I used that one, and it fixed the issue with the synology backup.
Just wanted to share Fedora 32’s rsync-3.2.2-1.fc32.src.rpm rebuilds cleanly without any necessary tweaks on CentOS 7. I used mock for a clean build environment.
It is very empowering to learn how to build your own packages and not very hard to get started. I encourage you to do the same!
I have not built my own RPMs before, just built from source .tar.gz files, do you have a good tutorial?
Is a package built by you inherently more secure than a package strait from a mirror?
FYI, the IUS rsync31u package is going to be retired (unmaintained) in about a month. Upstream confirmed that there will never be another
3.1.x release.
If there is still value in providing a newer rsync package for EL7 in IUS, I’d recommend requesting an rsync3 package (now that we know that upstream doesn’t maintain old minor versions) on the wishlist.
Is there a reason you think that? RHEL 7 was originally released with
3.0.9, so we can demonstrate that Red Hat will update not only revision, but minor version increases within an RHEL major release.
RHEL 7’s last minor release will be 7.9, later this year. It would surprise me if rsync were updated after that, but not terribly surprising if that release included an update.
12 thoughts on - Rsync Upgrade
You’ll need to upgrade to CentOS8.
C7 is at rsync 3.1.2-10, and will not go above 3.1.2 ever.
C8.2 is at 3.1.3-7, C8 will always be on 3.1.3
Martin
Another option is to build rsync from source, which is what I did to try out the zstd compression.
CentOS7$ rsync –version rsync version 3.2.2 protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others. Web site: https://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, atimes, batchfiles, inplace,
append, no ACLs, xattrs, optional protect-args, iconv, symtimes, prealloc Optimizations:
no SIMD, asm, openssl-crypto Checksum list:
xxh64 (xxhash) md5 md4 none Compress list:
zstd lz4 zlibx zlib none
Or you could try rebuilding the latest fedora SRPM on el7 (or the RHEL8
SRPM if that is new enough for you). Sometimes it’s straight forward, other times this approach may fail with newer build requirements than those provided by el7.
Worth a try though.
The problem that I keep running into is, our synology backup device
(RS3618xs) has an option to make a connection to each Linux VM, and our file server’s backup keeps failing every night with the error message:
“The samba shared folder settings of the source data cannot support backup. Please disable “store dos attributes” and “vss objects”.
In smb.conf the only reference to store dos attributes is a commented out line, and nothing references vss objects.
This error is coming up on a new vm running CentOS 7.8.2003 (Core), Samba 4.10.4, rsync 3.1.2.
The exact same setup on the old vm running CentOS6.10 (Final), Samba
3.6.23-53.el6_10, rsync 3.0.6 with the same files which have DOS
attributes on them, and the backup works fine.
Other VM’s running the same command structure using the same version of CentOS 7 work without issues.
Per Synology support the issue is the files that contain DOS attributes are breaking the backup.
Is anyone aware of issues with files that contain DOS attributes breaking rsync backups on CentOS7.8.2003 with Samba 4.10.4 and Rsync 3.1.2?
Chris
—
Christopher Wensink IS Administrator Five Star Plastics, Inc
1339 Continental Drive Eau Claire, WI 54701
Office: 715-831-1682
Mobile: 715-563-3112
Fax: 715-831-6075
cwensink@five-star-plastics.com http://www.five-star-plastics.com
Am 06.08.20 um 21:10 schrieb Phil Perry:
or
https://rsync.samba.org/download.html#Binaries https://download.samba.org/pub/rsync/binaries/CentOS-7.8-x86_64/
or
asking upstream to upgrade:
https://bugzilla.redhat.com
or
As they always say to me:
“If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution. For information on how to contact the Red Hat production support team, please visit: https://access.redhat.com/support“
As “Hick’s law” say https://en.wikipedia.org/wiki/Hick's_law
IUS has 3.1.3 for EL7. More information available via writeup at https://wiki.CentOS.org/AdditionalResources/Repositories or https://ius.io/
John
I used that one, and it fixed the issue with the synology backup.
Just wanted to share Fedora 32’s rsync-3.2.2-1.fc32.src.rpm rebuilds cleanly without any necessary tweaks on CentOS 7. I used mock for a clean build environment.
It is very empowering to learn how to build your own packages and not very hard to get started. I encourage you to do the same!
I have not built my own RPMs before, just built from source .tar.gz files, do you have a good tutorial?
Is a package built by you inherently more secure than a package strait from a mirror?
—
Christopher Wensink IS Administrator Five Star Plastics, Inc
1339 Continental Drive Eau Claire, WI 54701
Office: 715-831-1682
Mobile: 715-563-3112
Fax: 715-831-6075
cwensink@five-star-plastics.com http://www.five-star-plastics.com
FYI, the IUS rsync31u package is going to be retired (unmaintained) in about a month. Upstream confirmed that there will never be another
3.1.x release.
https://github.com/WayneD/rsync/issues/80
https://github.com/iusrepo/announce/issues/23
If there is still value in providing a newer rsync package for EL7 in IUS, I’d recommend requesting an rsync3 package (now that we know that upstream doesn’t maintain old minor versions) on the wishlist.
https://github.com/iusrepo/wishlist
Is there a reason you think that? RHEL 7 was originally released with
3.0.9, so we can demonstrate that Red Hat will update not only revision, but minor version increases within an RHEL major release.
RHEL 7’s last minor release will be 7.9, later this year. It would surprise me if rsync were updated after that, but not terribly surprising if that release included an update.
https://access.redhat.com/support/policy/updates/errata/#Maintenance_Support_2_Phase
http://vault.CentOS.org/7.0.1406/os/Source/SPackages/
If you’re using 3.2.2, be sure to add this fix to make rsync behave as expected:
https://github.com/WayneD/rsync/issues/81
Regards, Simon