Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 733084

Summary: net-misc/rsync-3.2.0 zstd token bug (Patch available upstream)
Product: Gentoo Linux Reporter: Rin Cat <rincat>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=734170
Whiteboard:
Package list:
Runtime testing required: ---

Description Rin Cat 2020-07-17 14:25:05 UTC
Upstream known bug, rsync crashed when both side support and use zstd.

rsync: token.c:1180: see_token: Assertion `0' failed.                                                                                       
rsync: [sender] write error: Broken pipe (32)

Official patch:
https://github.com/WayneD/rsync/commit/bb1365dd7736b264738f50b683a0f81a2ed11aba

Tested, it works.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-07-28 06:54:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c6c276cbc2bc2b5eb25264586b2a5fef1af3c2

commit f0c6c276cbc2bc2b5eb25264586b2a5fef1af3c2
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-07-28 06:54:11 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-07-28 06:54:47 +0000

    net-misc/rsync: Revbump to backport two fixes
    
    - Allow --bwlimit=0 again
    - Fix usage of zstd compression
    
    Closes: https://bugs.gentoo.org/731306
    Closes: https://bugs.gentoo.org/733084
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../rsync/files/rsync-3.2.2-allow_bwlimit_0.patch  |  77 ++++++++++
 .../rsync/files/rsync-3.2.2-zstd_see_token.patch   |  31 ++++
 net-misc/rsync/rsync-3.2.2-r1.ebuild               | 158 +++++++++++++++++++++
 3 files changed, 266 insertions(+)